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:
parent
10342b6131
commit
4076577ec8
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ module Sidekiq
|
||||||
def initialize(options={})
|
def initialize(options={})
|
||||||
logger.debug { options.inspect }
|
logger.debug { options.inspect }
|
||||||
@options = options
|
@options = options
|
||||||
@count = options[:concurrency] || 25
|
@count = options[:concurrency] || 10
|
||||||
raise ArgumentError, "Concurrency of #{@count} is not supported" if @count < 1
|
raise ArgumentError, "Concurrency of #{@count} is not supported" if @count < 1
|
||||||
|
|
||||||
@done = false
|
@done = false
|
||||||
|
|
Loading…
Add table
Reference in a new issue