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-06-24 19:24:18 +08:00
parent 76095d0243
commit 2828b4f387
3 changed files with 5 additions and 3 deletions

View File

@@ -145,7 +145,9 @@ func (jm *JobManager) start() {
stat = append(stat, vals[i])
}
}
stats = append(stats, stat)
if len(stat) > 0 {
stats = append(stats, stat)
}
}
InstanceOfOptimizer().feedStats(jm.job, "PS", stats)
stats = [][]TaskStatus{}