Exception: Sidekiq::Shutdown
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Sidekiq::Shutdown
- Defined in:
- lib/sidekiq/cli.rb
Overview
Used to raise in workers that have not finished within the hard timeout limit. This is needed to rollback db transactions, otherwise Ruby’s Thread#kill will commit. See #377.