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 10:29:48 +08:00
parent 31e45ec001
commit 0e22b84471

View File

@ -329,6 +329,7 @@ func (scheduler *SchedulerFair) UpdateQuota() {
quota := scheduler.queuesQuota[queue]
quota.NumberGPU += per
available -= per
log.Info(quota)
}
if available > 0 {
for queue := range scheduler.queues {