You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I add 2 flows to queue, with concurrency set to 1, I would expect for each flow to complete before next one, however I am getting slightly different behaviour.
First thing to consider with this case is that there are 2 different queues, so they will process jobs independently of each other. But even in the case where you used one single queue for both parent and children, BullMQ can only guarantee that children will be processed before the parent, not that all the children of all parents will be processed before all the parents.
If I add 2 flows to queue, with concurrency set to 1, I would expect for each flow to complete before next one, however I am getting slightly different behaviour.
Order of execution is next:
I would expect it to be(after all child jobs are finished, next one is parent job)
The text was updated successfully, but these errors were encountered: