We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8de66b8 commit 642edddCopy full SHA for 642eddd
opensciencegrid/ospool-cm/opt/ospool/update-prios
@@ -68,8 +68,9 @@ def main():
68
held = ad_int(ad, "HeldJobs", 0) * HELD_JOB_PENALTY_MULTIPLIER
69
factor += held
70
71
- if "daniel.morales" in ad["Name"]:
72
- factor -= 1500
+ # make sure we finish jobs on ap2X before migration
+ if ".uc.osg-htc.org" in ad["Name"]:
73
+ factor -= 1000
74
75
# upper/lower limits on the adjustments
76
factor = min(factor, MAX_PRIORITY_FACTOR)
0 commit comments