Skip to content

Examining the source code: are job IDs expected to be numeric? #2742

Answered by manast
twelve17 asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@twelve17
Comment options

Answer selected by twelve17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants