-
Notifications
You must be signed in to change notification settings - Fork 868
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
Timeouts #456
Comments
with any stuck active job increase you loose one job of you workers concurrency limit, so when stuck active jobs reaches that limit, you worker feels full and no job will be processed, until you restart node.js process!
Redis doesn't support EXPIRE on ZADD or LPUSH operations, so we should have implemented it ourselves in kue with a helper timeout set (=are they really STUCK!?), but I think it isn't worth it since it is a work around for the actual problem, this limits your application logic, in many cases you can't say my job will SURE go no longer than I had written a patch using domains inside workers, so when something goes wrong, Kue can automatically call
I've postponed this patch till 0.9, However I think it's time to make it experimentally available in 0.9 |
Resolved? shall it be closed? |
Sure. On Fri, Nov 7, 2014 at 1:54 AM, Behrad [email protected] wrote:
http://www.geoffplitt.com |
Sometimes my jobs get stuck, just because of some error that fails to call the callback correctly. But then the queue stops processing and nothing happens--forever.
I was surprised to see there isn't a default timeout, or a way to set timeouts, on jobs. Is this on purpose?
The text was updated successfully, but these errors were encountered: