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:14:14 +08:00
parent 4cac1cde7e
commit 1f6face022

View File

@@ -35,6 +35,7 @@ func (scheduler *SchedulerFair) Start() {
scheduler.jobs = map[string]*JobManager{}
scheduler.history = []*Job{}
scheduler.nextQueue = "default"
scheduler.queues = map[string][]Job{}
scheduler.queues["default"] = []Job{}
go func() {