1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

fix capsules API

This commit is contained in:
Mike Perham 2022-09-06 10:42:29 -07:00
parent b64ce75f1c
commit 841e13a2fc
No known key found for this signature in database

View file

@ -90,7 +90,7 @@ module Sidekiq # :nodoc:
# Since the user can pass us a connection pool explicitly in the initializer, we
# need to verify the size is large enough or else Sidekiq's performance is dramatically slowed.
@config.capsules.each do |cap|
@config.capsules.each_pair do |name, cap|
raise ArgumentError, "Pool size too small" if cap.redis_pool.size < cap.concurrency
end