Exception: Sidekiq::Shutdown

Inherits:
RuntimeError
  • Object
show all
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.