Add ability for a job to timeout #20

Closed
mindscratch opened this Issue Oct 7, 2011 · 1 comment

2 participants

@mindscratch

If a job is scheduled that is taking a long time or is hung up for some reason, it would be nice if Qu could stop/kill the job and then let some hook/callback be invoked so we could know it happened. At that point we could log a message, raise an exception, requeue the job, etc.

@jnunemaker
Collaborator

For now I would recommend just using Timeout.timeout in your job and handling this on your own.

@jnunemaker jnunemaker closed this Dec 22, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment