Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Martin <chris@cmartinit.co.uk>
  • Loading branch information
Chris Martin committed Jun 27, 2024
1 parent 85a2502 commit 6d470ce
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion internal/scheduler/preempting_queue_scheduler.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ func (sch *PreemptingQueueScheduler) Schedule(ctx *armadacontext.Context) (*Sche
fairShare = math.Max(qctx.AdjustedFairShare, fairShare)
}
fractionOfFairShare := actualShare / fairShare
ctx.Infof("queue=%s, fairShare=%.2f, actualShare=%.2f", qctx.Queue, fairShare, actualShare)
if fractionOfFairShare <= sch.protectedFractionOfFairShare {
return false
}
Expand Down
2 changes: 1 addition & 1 deletion internal/scheduler/preempting_queue_scheduler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1340,7 +1340,7 @@ func TestPreemptingQueueScheduler(t *testing.T) {
PriorityFactorByQueue: map[string]float64{
"A": 1,
"B": 2,
"c": 1,
"C": 1,
},
},
"DominantResourceFairness": {
Expand Down

0 comments on commit 6d470ce

Please sign in to comment.