You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to set some kind of lifespan for a job? If a job never was processed by a worker it should be removed from the queue after x seconds.
I am looking for something like the TTL of RabbitMQ.
Currently I have a function that checks every second if the timestamp of jobs that are waiting are older than x seconds and if the status of each job is "created" - if so the job will get removed from the queue. Is there any other way to do this currently?
Is it possible to set some kind of lifespan for a job? If a job never was processed by a worker it should be removed from the queue after x seconds.
I am looking for something like the TTL of RabbitMQ.
Currently I have a function that checks every second if the timestamp of jobs that are waiting are older than x seconds and if the status of each job is "created" - if so the job will get removed from the queue. Is there any other way to do this currently?
The text was updated successfully, but these errors were encountered: