node-resque v7.2.0 Release Notes
Release Date: 2020-10-02 // over 3 years ago-
⚡️ Resilience Updates (#450)
🚚 Move the act of
pop
ing a job off of a queue to a transaction viawatch
andmulti
.- This will have speed implications. In a busy system, the occurrences of trying to
"pop"
while writes are happening is high. - We may want to move to a LUA implementation to be truly blocking
➕ Add
queue.retryStuckJobs()
which is a single method to retry jobs which have failed due to the worker timeout.➕ Add
options.retryStuckJobs
to the Scheduler, to automatically run the abovequeue.retryStuckJobs()
periodically. - This will have speed implications. In a busy system, the occurrences of trying to