v7.2.0
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
- 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.retryStuckJobs
to the Scheduler, to automatically run the abovequeue.retryStuckJobs()
periodically.