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

update fair

This commit is contained in:
Newnius 2020-05-28 23:10:05 +08:00
parent 6cae5aac0d
commit b920868197

View File

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