Bull: Dedup of queue tasks

Created on 4 May 2018  路  2Comments  路  Source: OptimalBits/bull

Question-
Is there a prescribed way to make sure tasks are de-duplicated in a queue?
Or can Bull ensure they are?

I have a few use-cases where many jobs will/can queue up a workflow, but I only want one "summary" task to run after a certain amount of time has passed.

Thanks
MJD

question

Most helpful comment

jobs must have unique ids, so if you specify you own ids when adding jobs you can control duplicates.

All 2 comments

jobs must have unique ids, so if you specify you own ids when adding jobs you can control duplicates.

That makes sense...
Thank you.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

thelinuxlich picture thelinuxlich  路  3Comments

inn0vative1 picture inn0vative1  路  4Comments

sarneeh picture sarneeh  路  3Comments

pigaov10 picture pigaov10  路  3Comments

tdzienniak picture tdzienniak  路  4Comments