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-31 22:32:35 +08:00
parent b70b8a9579
commit 8c5c7cce2e

View File

@ -43,7 +43,7 @@ func (scheduler *SchedulerFair) Start() {
scheduler.queues = map[string][]Job{}
scheduler.queues["default"] = []Job{}
scheduler.drfyarn = false
scheduler.enableBorrow = false
scheduler.enableBorrow = true
scheduler.IOUs = map[string]map[string]*ResourceCount{}
scheduler.queuesQuota = map[string]*ResourceCount{}
scheduler.resourceAllocations = map[string]*ResourceCount{}