Skip to content

Commit

Permalink
Helpful comment is helpful
Browse files Browse the repository at this point in the history
  • Loading branch information
mperham committed Sep 10, 2014
1 parent 47c20e5 commit 2b7c044
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/sidekiq/launcher.rb
Expand Up @@ -52,6 +52,7 @@ def stop
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
Expand Down

0 comments on commit 2b7c044

Please sign in to comment.