Skip to content

Commit

Permalink
feat(bullmq): prevent name collisions on different queues
Browse files Browse the repository at this point in the history
  • Loading branch information
abenerd authored and Romakita committed Oct 16, 2023
1 parent 4fb6c71 commit 1ef9754
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/third-parties/bullmq/src/decorators/Job.ts
Expand Up @@ -10,7 +10,7 @@ export function Job(name: string, queue: string = "default", opts: JobsOptions =
opts
}),
Injectable({
provide: `bullmq.job.${name}`,
provide: `bullmq.job.${queue}.${name}`,
type: opts.repeat ? "bullmq:cron" : "bullmq:job"
})
);
Expand Down

0 comments on commit 1ef9754

Please sign in to comment.