Workers not firing the completed
event
#2134
Replies: 1 comment
-
🤦♂️ Turns out I had a separate client connected to the queue on a server running an older version of the code. I was using Redis Cloud and thought i had disabled it on the server, but the pm2 instance was running on sudo.. Dumb mistake, but maybe someone else will be saved. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to use Express in combination with delayed jobs in Bull. The jobs seem to be scheduled appropriately, however, it appears that after being executed not all workers first a
completed
event.My worker is setup as follows:
I have a simple completed listener similar to the following:
When scheduling two events for the same time, one of the events is process and executes the
completed
event correctly, but the other seems to "silently" complete. This silent completion results in the job being marked ascompleted
, the queue being set todrained
, but the actual completed handler not being called.Does anyone know what might be wrong here? Feel free to ask for any other information if necessary.
Beta Was this translation helpful? Give feedback.
All reactions