Closed evantahler closed 4 years ago
It is possible that cleanupTimestamps would delete a queue if a new job is inserted after the llen read. We can prevent this with an optimisitc-lock
cleanupTimestamps
https://github.com/NodeRedis/node-redis#optimistic-locks
See https://github.com/actionhero/node-resque/pull/318
It is possible that
cleanupTimestamps
would delete a queue if a new job is inserted after the llen read. We can prevent this with an optimisitc-lockhttps://github.com/NodeRedis/node-redis#optimistic-locks