Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make SETA adjust job priorities in both directions
Up until now, job priorities could only be increased to high value jobs. This change allows resetting a job to a low value priority if it has not been determined to be a high value job. This change also fixes a race condition between load_preseed and analyze_failures where we would attempt to update the job priority of a job that is not yet in the database.
- Loading branch information
Armen Zambrano
committed
Jan 4, 2017
1 parent
60558b1
commit 7145c4e
Showing
2 changed files
with
22 additions
and
18 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