rq / django-rq

A simple app that provides django integration for RQ (Redis Queue)
MIT License
1.81k stars 286 forks source link

Support for default failure result TTL #568

Closed muhammedabad closed 1 year ago

muhammedabad commented 1 year ago

Hi,

Does django-rq provide support for the failure_ttl setting specified here ?

EDIT: I see that the FailedJobRegistry class in RQ has a cleanup method which might be a workaround if the failure TTL setting is not directly supported:

image

selwin commented 1 year ago

Yes, get_queue() returns a Queue object and failure_ttl is one of its arguments.