mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-06-07 22:31:55 +00:00
update fair
This commit is contained in:
parent
4168253bca
commit
d2a67796dd
@ -156,6 +156,9 @@ func (scheduler *SchedulerFair) Start() {
|
||||
if _, ok := scheduler.queuesQuota[queue]; !ok {
|
||||
scheduler.queuesQuota[queue] = &ResourceCount{}
|
||||
}
|
||||
if _, ok := quotas[queue]; !ok {
|
||||
quotas[queue] = &ResourceCount{}
|
||||
}
|
||||
/* one cannot borrow more before he has cleared his IOUs */
|
||||
//if len(scheduler.IOUs[queue]) > 0 {
|
||||
// continue
|
||||
|
Loading…
Reference in New Issue
Block a user