Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
No-op (triggering codeclimate)
Browse files Browse the repository at this point in the history
noodl committed Sep 12, 2024
1 parent f09d5f0 commit 0a1a0fb
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
@@ -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

0 comments on commit 0a1a0fb

Please sign in to comment.