Dead Letter Queue

Jobs that fail after exhausting their retry attempts are moved to a dead letter queue. This queue holds jobs that need manual intervention or deeper investigation to determine why they failed.

Configuring Dead Letter Queue

To configure the dead letter queue, you can specify the dead_letter_ttl setting, which determines how long failed jobs will remain in the queue:

JoobQ.configure do |config|
  config.dead_letter_ttl = 7.days
end

Last updated