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
I add jobs to bull queue with priority and only use one worker. When the worker crashes, a job stalls. I restart workers and add many other jobs to queue. I find that this stalled job has to wait other jobs finish to be processed, although it has higher priority.
I want to ask some questions about queue with priority.
Worker will check stalled job after each stalledInterval seconds. If find a stalled job, what will worker do ?
When is a stalled job processed again ? Does Bull make sure stalled job with higher priority will be processed before than many jobs with lower priority which are added and are waiting.
All workers check stalled job ? It causes duplicate checking !!??
This discussion was converted from issue #1925 on July 14, 2021 14:20.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I add jobs to bull queue with priority and only use one worker. When the worker crashes, a job stalls. I restart workers and add many other jobs to queue. I find that this stalled job has to wait other jobs finish to be processed, although it has higher priority.
I want to ask some questions about queue with priority.
Beta Was this translation helpful? Give feedback.
All reactions