diff --git a/lib/sidekiq/launcher.rb b/lib/sidekiq/launcher.rb index 7721bc32..bd018e15 100644 --- a/lib/sidekiq/launcher.rb +++ b/lib/sidekiq/launcher.rb @@ -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