How could i solve this? job stalled more than allowable limit
#633
-
I'm running some batch job at night and maybe a few of them takes a quite long time. so.. I can see some jobs remained and the failedReason is I tried sandboxed processor but it actually didn't work. I think job status changes to stalled when it takes much time right? no?.. any idea please.. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
You can configure how many times a job is allowed to stall using this: https://github.com/taskforcesh/bullmq/blob/master/docs/gitbook/api/bullmq.queuescheduleroptions.md When using sandboxed processors jobs should not stall unless the CPU that is running the queue is so stressed that it is not able to extend the lock of the job that is being processed. |
Beta Was this translation helpful? Give feedback.
You can configure how many times a job is allowed to stall using this: https://github.com/taskforcesh/bullmq/blob/master/docs/gitbook/api/bullmq.queuescheduleroptions.md
When using sandboxed processors jobs should not stall unless the CPU that is running the queue is so stressed that it is not able to extend the lock of the job that is being processed.