Behaviour of worker.on("error")
unclear
#2939
-
Hello all, We're using bullmq to process events in our Node.js stack (Node 20.17, bullmq 5.12.10). During high-load phases we see errors like
which is the message that we receive in the on error function like this:
Based on https://docs.bullmq.io/guide/workers it's not clear what happens to the given job at this point, especially since it seems to be an Redis connection issue (tracked in redis/ioredis#1927). Does the job get marked as stalled as there are no update heartbeats and automatically retried? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
It will be marked as stalled and moved back to wait if more than the default 30 seconds have happened without the worker being able to extend the lock. |
Beta Was this translation helpful? Give feedback.
It will be marked as stalled and moved back to wait if more than the default 30 seconds have happened without the worker being able to extend the lock.