-
Notifications
You must be signed in to change notification settings - Fork 70
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
TTR documentation error #126
Comments
Have you verified this? Was added here 1b06f8e 4e7ef38 by @zacviandier. If so, can you send a PR for the readme? |
Unfortunately the current job execution code is:
|
Effectively a change was made in 457bfdf, but anyway the goal here is to send Beanstalk protocol doc:
I also made some test with different version of Beanstalkd and it doesn't react the same way every time. With |
I came across this issue when trying to implement a job without a timeout and I don't think it's possible with beanstalkd. I think the confusion here is that you guys are talking about different timeouts. @pnabutovsky is referring to the job TTR which is how long beanstalkd gives the worker that reserved the job to either release, delete, or bury. @zacviandier is referring to the reserve timeout which is how long a client's call to A reserve timeout of <= 0 will cause the client to block forever waiting on a job. This makes sense and works well. It is impossible for a job to have a TTR < 1 as this is enforced by beanstalkd. If you enqueue a job with TTR < 1 backburner will silently set it to 1 instead. So there is no way to set things up such that a job runs until completion ignoring all timeouts. In the line that @pnabutovsky mentioned above, Even if we modified backburner to not raise TL;DR |
Looking at the Backburner README doc:
queue_respond_timeout 300 # number of seconds before job times out, 0 to avoid timeout
Looking at the Beanstalk protocol doc:
The text was updated successfully, but these errors were encountered: