Behaviour of worker.on("error") unclear
#2939
Answered
by
manast
Steffen911
asked this question in
Q&A
|
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? |
Answered by
manast
Nov 27, 2024
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. |
2 replies
Answer selected by
Steffen911
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.