Skip to content

Commit 28ecdb0

Browse files
authored
Merge pull request #293 from rynge/migration-prios
Temporary prio boost for migration
2 parents 8de66b8 + 642eddd commit 28ecdb0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

opensciencegrid/ospool-cm/opt/ospool/update-prios

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,9 @@ def main():
6868
held = ad_int(ad, "HeldJobs", 0) * HELD_JOB_PENALTY_MULTIPLIER
6969
factor += held
7070

71-
if "daniel.morales" in ad["Name"]:
72-
factor -= 1500
71+
# make sure we finish jobs on ap2X before migration
72+
if ".uc.osg-htc.org" in ad["Name"]:
73+
factor -= 1000
7374

7475
# upper/lower limits on the adjustments
7576
factor = min(factor, MAX_PRIORITY_FACTOR)

0 commit comments

Comments
 (0)