Fix all rubocop warnings
This commit is contained in:
parent
05e39dc619
commit
bf851133ae
48 changed files with 124 additions and 97 deletions
|
@ -7,8 +7,8 @@ class RedisConfiguration
|
|||
@pool = ConnectionPool.new(size: new_pool_size) { new.connection }
|
||||
end
|
||||
|
||||
def with
|
||||
pool.with { |redis| yield redis }
|
||||
def with(&block)
|
||||
pool.with(&block)
|
||||
end
|
||||
|
||||
def pool
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue