v7.2.0
Resilience Updates (#450)
-
Move the act of
poping a job off of a queue to a transaction viawatchandmulti.- 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
- This will have speed implications. In a busy system, the occurrences of trying to
-
Add
queue.retryStuckJobs()which is a single method to retry jobs which have failed due to the worker timeout. -
Add
options.retryStuckJobsto the Scheduler, to automatically run the abovequeue.retryStuckJobs()periodically.