1
0
mirror of https://github.com/newnius/YAO-scheduler.git synced 2025-12-12 23:36:44 +00:00

update shceduler_fair, bugfix

This commit is contained in:
2019-08-01 11:17:05 +08:00
parent 1f6face022
commit 83a50bb5f0

View File

@@ -5,6 +5,7 @@ import (
"time"
log "github.com/sirupsen/logrus"
"sort"
"fmt"
)
type SchedulerFair struct {
@@ -112,6 +113,7 @@ func (scheduler *SchedulerFair) Schedule(job Job) {
queue = "default"
}
}
fmt.Print(queue)
index := 0
left := 0