1
0
mirror of https://github.com/newnius/YAO-scheduler.git synced 2025-12-15 08:16:43 +00:00
This commit is contained in:
2020-05-04 14:04:32 +08:00
parent d9a53d52e5
commit c64ed900a7
2 changed files with 3 additions and 1 deletions

View File

@@ -63,6 +63,8 @@ func (s FairJobSorter) Less(i, j int) bool {
}
func (scheduler *SchedulerFair) Start() {
log.Info("JS started")
scheduler.jobs = map[string]*JobManager{}
scheduler.history = []*Job{}
scheduler.nextQueue = "default"