-
I have been running into unexpected out-of-order processing of messages from the delayed queue. I do not yet know if this is related, but, studying the
I see that it does so via
In the reference doc, the Is it possible that the first twelve bits of a job Id not being numeric characters throw off ordering of execution in the delayed queue? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The id used in the expression "jobId & 0xfff" is the actual job counter, probably should be renamed to job counter, as it is the case in the newer BullMQ codebase: https://github.com/taskforcesh/bullmq/blob/master/src/commands/addDelayedJob-6.lua#L96 |
Beta Was this translation helpful? Give feedback.
The id used in the expression "jobId & 0xfff" is the actual job counter, probably should be renamed to job counter, as it is the case in the newer BullMQ codebase: https://github.com/taskforcesh/bullmq/blob/master/src/commands/addDelayedJob-6.lua#L96
which by the way has better support for delayed jobs.