Manuel Astudillo
Manuel Astudillo
It should work, since a recurring job is waiting as a delayed job, can you provide a test where this does not hold?
I have reproduced this issue and know exactly why it happens, but I need some time to fix it.
@Khauri it will be scheduled to the next run.
@fgozdz I think this issue has been resolved some time ago, specially with the new job scheduler, could you please verify that it works now with a new test case...
@EmilEriksen actually I do not think the delayed job will be created directly, it will promote the current delayed job to wait status, and as soon as it is picked...
@EmilEriksen yes, I can reproduce an issue. A job that is promoted, when processed will not generate a new delayed job.
in other words, it will break the iterations... we will start working on a fix now that we can reproduce it.
The fix is coming in this PR: https://github.com/taskforcesh/bullmq/pull/2944
Priority support for delayed jobs have been added in 3.4.0: https://github.com/OptimalBits/bull/blob/master/CHANGELOG.md#v340
no, not yet.