-
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.
Move server_is_qualified() to mxqd_control
We need to make a difference between jobs, the server is not able to run currently (because it doesn't have enough free slots) and jobs, which it is not able to run at all (e.g. because the server is on the groups blacklist). Only in the first case does thes server need to get into the WAITING state and stop takeing jobs from groups of users with already used more than their fair share of the cluster. Evaluate group contraints when the group is loaded and set glist->jobs_max to 0 if we can't run jobs from a group.
- Loading branch information
Showing
3 changed files
with
36 additions
and
49 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
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
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