Replies: 2 comments 8 replies
-
@manast In above test case, why delayed jobs are placed at the left of waiting list, and will not be processed immediately, because workers pop jobs from the right of waiting list. However, docs says:
|
Beta Was this translation helpful? Give feedback.
-
When a delayed job is moved back to the wait list it is placed to the head of the list, i.e. it will be next to be processed... of course if other delayed jobs are moved to the wait list after the first one then they will move the first one back in the queue. |
Beta Was this translation helpful? Give feedback.
-
Description
I have a queue with rate limiter
Because of rate limiter, some jobs of source Z are moved into delayed queue. After amount of time, jobs of source
Z
are placed at the beginning of waiting list. The beginning of waiting list here is the left side, so 'Z' jobs will not be processed as soon as the worker is idle.I have read docs
I wonder that these jobs have to be placed at the end of the waiting list (right side) to be processed as soon as a worker is idle. ???
Could anyone explain me about this problem ? Thanks !
Minimal, Working Test code to reproduce the issue.
(An easy to reproduce test case will dramatically decrease the resolution time.)
Bull version
3.27.0
Additional information
Beta Was this translation helpful? Give feedback.
All reactions