1
0
mirror of https://github.com/newnius/YAO-scheduler.git synced 2025-06-07 14:21:55 +00:00

update fair

This commit is contained in:
Newnius 2020-05-28 23:04:10 +08:00
parent 3e1c1ee4f8
commit c2e5bc13a1

View File

@ -191,7 +191,7 @@ func (scheduler *SchedulerFair) Start() {
} }
IOU.NumberGPU += minRequestGPU IOU.NumberGPU += minRequestGPU
scheduler.queuesQuota[bestQueue].NumberGPU += minRequestGPU scheduler.queuesQuota[bestQueue].NumberGPU += minRequestGPU
log.Info(bestQueue, " borrow ", minRequestGPU, " from ", queue) log.Info(bestQueue, " borrow ", minRequestGPU, " from ", queue, " now ", scheduler.queuesQuota[bestQueue].NumberGPU)
break break
} }
} }