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

client-side doesn't need more conns

This commit is contained in:
Mike Perham 2018-12-16 15:44:59 -08:00
parent dc67241512
commit c8d7431292

View file

@ -22,7 +22,7 @@ module Sidekiq
# so we won't create them until we need them.
Sidekiq.options[:concurrency] + 5
elsif ENV['RAILS_MAX_THREADS']
Integer(ENV['RAILS_MAX_THREADS']) + 5
Integer(ENV['RAILS_MAX_THREADS'])
else
5
end