mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Don't dispatch until all Processors are spun up
This commit is contained in:
parent
42c3743a32
commit
70bd688059
1 changed files with 2 additions and 0 deletions
|
@ -47,6 +47,8 @@ module Sidekiq
|
||||||
def start
|
def start
|
||||||
@ready.each do |x|
|
@ready.each do |x|
|
||||||
x.start
|
x.start
|
||||||
|
end
|
||||||
|
@ready.each do |x|
|
||||||
dispatch
|
dispatch
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue