Exception: Sidekiq::Shutdown

Inherits:
Interrupt
  • Object
show all
Defined in:
lib/sidekiq.rb

Overview

We are shutting down Sidekiq but what about workers that are working on some long job? This error is raised 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. DO NOT RESCUE THIS ERROR IN YOUR WORKERS