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

Helpful comment is helpful

This commit is contained in:
Mike Perham 2014-09-10 10:43:06 -07:00
parent 47c20e5ce8
commit 2b7c04407a

View file

@ -52,6 +52,7 @@ module Sidekiq
manager.wait(:shutdown) if manager.alive?
# Requeue everything in case there was a worker who grabbed work while stopped
# This call is a no-op in Sidekiq but necessary for Sidekiq Pro.
Sidekiq::Fetcher.strategy.bulk_requeue([], @options)
stop_heartbeat