1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00
This commit is contained in:
Mike Perham 2015-10-07 09:47:53 -07:00
parent 314a6b64f8
commit da62019b49

View file

@ -88,7 +88,6 @@ module Sidekiq
@in_progress.delete(processor)
if @done
processor.terminate
#shutdown if @in_progress.empty?
else
@ready << processor
end
@ -99,9 +98,7 @@ module Sidekiq
def processor_died(processor, reason)
@plock.synchronize do
@in_progress.delete(processor)
if @done
#shutdown if @in_progress.empty?
else
unless @done
p = Processor.new(self)
p.start
@ready << p