-
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.
mxqkill: Add function
cancel_group
and refactor group cancellation …
…logic Refactor the group cancellation process by moving the code from main() into new functions, similar to the existing jobs cancellation functions. Added `cancel_group` function along with its helper functions. Notable change: - Removed constraints from the old code, making it no longer mandatory for the group to have `groups_status OK`, or pending/running jobs. This allows cancellations of both inactive and previously cancelled groups. These changes enable more flexible group management and simplify the cancellation logic. Note: The old code will be removed in the next commit for cleaner diffs and improved clarity.
- Loading branch information
Showing
1 changed file
with
80 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