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:
parent
41242024b6
commit
4e9e9a408e
@ -157,9 +157,9 @@ func (scheduler *SchedulerFair) Start() {
|
||||
scheduler.queuesQuota[queue] = &ResourceCount{}
|
||||
}
|
||||
/* one cannot borrow more before he has cleared his IOUs */
|
||||
if len(scheduler.IOUs[queue]) > 0 {
|
||||
continue
|
||||
}
|
||||
//if len(scheduler.IOUs[queue]) > 0 {
|
||||
// continue
|
||||
//}
|
||||
|
||||
needGPU := numberGPUtmp*1000 - quotas[queue].NumberGPU
|
||||
/* the less, the better */
|
||||
|
Loading…
Reference in New Issue
Block a user