mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-12-15 08:16:43 +00:00
update shceduler_fair, bugfix
This commit is contained in:
@@ -5,6 +5,7 @@ import (
|
|||||||
"time"
|
"time"
|
||||||
log "github.com/sirupsen/logrus"
|
log "github.com/sirupsen/logrus"
|
||||||
"sort"
|
"sort"
|
||||||
|
"fmt"
|
||||||
)
|
)
|
||||||
|
|
||||||
type SchedulerFair struct {
|
type SchedulerFair struct {
|
||||||
@@ -112,6 +113,7 @@ func (scheduler *SchedulerFair) Schedule(job Job) {
|
|||||||
queue = "default"
|
queue = "default"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
fmt.Print(queue)
|
||||||
|
|
||||||
index := 0
|
index := 0
|
||||||
left := 0
|
left := 0
|
||||||
|
|||||||
Reference in New Issue
Block a user