taskforcesh / bullmq

BullMQ - Message Queue and Batch processing for NodeJS and Python based on Redis
https://bullmq.io
MIT License
5.47k stars 357 forks source link

Offset option for Jobs #2522

Open chocof opened 1 month ago

chocof commented 1 month ago

Version 5.1.0

Problem In the past there used to be an offset option for jobs which could allow us to avoid having two separate jobs with the same interval occurring at the same time (it is also referenced here)

Requirement Could we extend RepeatOptions to include an offset option once again which delays the repeated job to be executed by offset ms

Note Thanks for Bull btw it is a great project which I have been using for quite some time now