-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mxqd: Kill running jobs which were cancelled
Periodically check the job_canncelled flags for the jobs run by this daemon. If a cancellation of the job was requested, kill it, using the existing mechanism. If a job take the normal path (INQ->ASSIGNED->LOADED->RUNNING), we can ignore the imtermediate states, because the job will end up in RUNNING. INQ jobs are handled by the mxqkill command. The rare condition, that a cancelled job is unassigned or unloaded and going back into INQ instead of RUNNING, still needs to be addressed.
- Loading branch information
Showing
1 changed file
with
55 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters