module JoobQ::DeadLetter

Overview

The dead letter queue is a sorted set of job ids that have failed to be processed. The score of the job id is the time at which the job was added to the dead letter queue. The dead letter queue is used to track jobs that have failed to be processed and to prevent the queue from growing indefinitely.

The dead letter queue is cleaned up by removing jobs that have been in the queue for longer than the dead letter expiration time. The dead letter expiration time is configurable and defaults to 7 days.

Defined in:

joobq/dead_letter.cr

Class Method Summary

Class Method Detail

def self.add(job) #

[View source]