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

Do not break when there are still running jobs. #236

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

Conversation

CZYK
Copy link

@CZYK CZYK commented Sep 30, 2019

Currently the RunCommand::runJobs terminates when it receives a SIGTERM or the $maxRuntime is expired. When this happens the running jobs are also terminated and remain as running.

This change makes sure that runJobs waits until all running jobs are finished and doesn't start any new jobs when it is instructed to shutdown.

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.

1 participant