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

add context

This commit is contained in:
Mike Perham 2022-09-06 10:43:40 -07:00
parent 841e13a2fc
commit 4b2a605248
No known key found for this signature in database

View file

@ -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