Reputation: 5790
I'm running into the scenario that I'm queuing up tasks in a pull queue for a worker, which after a certain point in time should expire if the worker did not get to them for any reason. The eta
and countDown
options seem to affect when the task becomes visible; is there an option to set a time to live on a pull queue task?
Upvotes: 2
Views: 134
Reputation: 1149
No. The tasks in a pull queue must be deleted by a 'worker' (i.e. your application). You could have a worker that just deletes tasks depending on the age of the task.
Upvotes: 2