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:
parent
b64ce75f1c
commit
841e13a2fc
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue