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

Update default concurrency per 5.2 changes

This commit is contained in:
Mike Perham 2018-09-17 10:10:27 -07:00
parent 10342b6131
commit 4076577ec8

View file

@ -30,7 +30,7 @@ module Sidekiq
def initialize(options={})
logger.debug { options.inspect }
@options = options
@count = options[:concurrency] || 25
@count = options[:concurrency] || 10
raise ArgumentError, "Concurrency of #{@count} is not supported" if @count < 1
@done = false