1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00
mperham--sidekiq/lib/sidekiq/middleware
Kevin Yank 56b55845d8 Prevent exceptions caused by Sidekiq::Shutdown from causing jobs to be retried.
Jobs in progress during a Sidekiq shutdown/restart are requeued for immediate execution. They should not also be queued for retry.

This is an attempt at a cleaner fix than that proposed with mperham#1354, also discussed on mperham#897. Because it depends on Exception#cause, this fix will only be effective on Ruby 2.1.0; however, the code will run on earlier Rubies.
2014-06-27 17:35:50 +10:00
..
server Prevent exceptions caused by Sidekiq::Shutdown from causing jobs to be retried. 2014-06-27 17:35:50 +10:00
chain.rb Explicitly pass Redis associated with this job 2014-03-25 21:38:17 -07:00
i18n.rb Explicitly pass Redis associated with this job 2014-03-25 21:38:17 -07:00