Module: Wurk::Middleware::Status::DeathHandler

Defined in:
lib/wurk/middleware/status.rb

Overview

Every way a job stops coming back funnels through the death handlers: retries exhausted, dead: false, a :discard from sidekiq_retry_in, a poison-pill kill. Same registration shape as Batch::DeathHandler.

Class Method Summary collapse

Class Method Details

.call(job, _exception) ⇒ Object



93
# File 'lib/wurk/middleware/status.rb', line 93

def self.call(job, _exception) = Status.dead(job)