How to tell bull queue that the worker is running the job, and not stalled #2299
Replies: 2 comments 8 replies
-
Are you processing the jobs manually like this: https://github.com/OptimalBits/bull/blob/develop/PATTERNS.md#manually-fetching-jobs or using the standard processor function? |
Beta Was this translation helpful? Give feedback.
-
You can either break the loop so that you return to the event loop regularly or use a "sandboxed" bull processor. |
Beta Was this translation helpful? Give feedback.
-
I have long processing crawling job, it may take hours or days to complete a job.
I am reporting the progress
{ }
after each request in loop and extended thestalledInterval
to 60s, still the job is stalled after around a minute or two while the worker is running the job and no errors.Beta Was this translation helpful? Give feedback.
All reactions