Skip to content

Commit

Permalink
Stop scheduling jobs after receiving :quiet event
Browse files Browse the repository at this point in the history
  • Loading branch information
snmgian authored Sep 27, 2018
1 parent c4066c4 commit b162b5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sidekiq-scheduler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
config.options[:schedule_manager].start
end

config.on(:shutdown) do
config.on(:quiet) do
config.options[:schedule_manager].stop
end

Expand Down

0 comments on commit b162b5f

Please sign in to comment.