-
Notifications
You must be signed in to change notification settings - Fork 866
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TTL exceeded not throwing job failed
event
#784
Comments
sorry for not mentioning
both kue has the same issue |
It is expected to be called as normal if the worker keeping the TTL'ed job is running... https://github.com/Automattic/kue/blob/master/lib/queue/worker.js#L77 |
for some reason it does not get called in the code I pasted. Is there anything I am missing there? |
Can you trace this yourself to see what is causing that? 2015-12-22 7:50 GMT+03:30 A K M Zahiduzzaman notifications@github.com:
--Behrad |
I experienced this as well and the problem was that I had the same worker replicated multiple times and after one worker's TTL exceeded, the same job was distributed again to another worker, and from here a series of errors occured (app specific errors though). |
Wanted to mention about this on the |
Hey I have been using kue in a production application and have great results. but now that we have introduced the TTL functionality that you guys implemented I am having some problems. I will state some code to explain below
queue.js
server.js
emitter.js
pm2.json file
so now if i emit a job
publishingEvent
, it creates the job properly and fails it. l know this by looking at the gui, but I dont see it in the event callbacks i registered. This is a huge problem as I need to store in the database about this TTL exceeded error. any Idea how I can Solve this?The text was updated successfully, but these errors were encountered: