mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
add context
This commit is contained in:
parent
841e13a2fc
commit
4b2a605248
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,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_pair do |name, cap|
|
||||
raise ArgumentError, "Pool size too small" if cap.redis_pool.size < cap.concurrency
|
||||
raise ArgumentError, "Pool size too small for #{name}" if cap.redis_pool.size < cap.concurrency
|
||||
end
|
||||
|
||||
# cache process identity
|
||||
|
|
Loading…
Add table
Reference in a new issue