Skip to content

Commit

Permalink
No-op (triggering codeclimate)
Browse files Browse the repository at this point in the history
  • Loading branch information
noodl authored and adamgeorgeson committed Oct 1, 2024
1 parent f06dcdc commit c9ab822
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/cache_store_redis/redis_connection_pool.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ def initialize(namespace = nil, config = nil)
loop do
sleep(1)
@mutex.synchronize do
connections.select { |con| con.expired? }.each do |con|
con.close
end
connections.select(&:expired?).each(&:close)
end
end
end
Expand Down

0 comments on commit c9ab822

Please sign in to comment.