mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-12-13 07:46:43 +00:00
update fair
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user