Skip to content
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

allow specification of max run time per worker, from the command line #871

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

timaro
Copy link

@timaro timaro commented Jan 25, 2016

This is a change to allow specifying the per-worker max run time via the command line, either via MAX_RUN_TIME env variable, or --max-run-time option to the script.

There's no current way that I can see to set this value, other than globally via Delayed::Worker.max_run_time. It's sometimes essential for us to be able to spin up a single worker with a different value.

@timaro
Copy link
Author

timaro commented Jan 25, 2016

Not sure why the TravisCI builds are failing...looking at the errors, and they seem to be unrelated to my changes...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant