[Bug]: Duplicate Jobs Created Despite Same Custom Key with Different Repeat Intervals #2399
Closed
1 task done
Labels
bug
Something isn't working
Version
v5.1.5
Platform
NodeJS
What happened?
Description:
I've encountered an issue related to creating repeated jobs with a custom key using the BullMQ package. This functionality was introduced in PR #1824.
Issue:
When I add a job with the same repeat interval and custom key, no duplicate jobs are created, which is the expected behavior:
However, changing the repeat interval while keeping the same key results in the creation of duplicate jobs:
Expected Behavior:
Even when the repeat interval is modified, as long as the custom key remains the same, it should not result in duplicate jobs. The uniqueness of a job should be maintained based on the custom key provided.
How to reproduce.
Steps to Reproduce:
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: