Skip to content

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

Draft
CZYK wants to merge 1 commit intoschmittjoh:masterfrom
CZYK:CZYK-TerminatedCommands
Draft

Do not break when there are still running jobs.#236
CZYK wants to merge 1 commit intoschmittjoh:masterfrom
CZYK:CZYK-TerminatedCommands

Conversation

@CZYK
Copy link
Copy Markdown

@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