Is it safe to reuse jobId across queues? #2659
Answered
by
manast
beinoriusju
asked this question in
Q&A
-
I've noticed that jobId needs to be unique per queue not globally. This helps me move jobs between queues and still be able to query them using the same jobId. Are there any gochas here that I don't know and do you agree it needs to be mentioned in documentation? (eg "unique per que") https://github.com/taskforcesh/bullmq/blob/master/docs/gitbook/guide/jobs/job-ids.md |
Beta Was this translation helpful? Give feedback.
Answered by
manast
Jul 17, 2024
Replies: 1 comment
-
There are no gotchas, the jobs keys are prefixed by the queue name. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
beinoriusju
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There are no gotchas, the jobs keys are prefixed by the queue name.