1
0
mirror of https://github.com/newnius/YAO-scheduler.git synced 2025-12-12 23:36:44 +00:00
This commit is contained in:
2020-05-02 21:42:27 +08:00
parent 4af253569a
commit 592d4a5473
2 changed files with 3 additions and 1 deletions

View File

@@ -65,6 +65,9 @@ func (jm *JobManager) start() {
i = -1
start = time.Now().Unix()
}
if i == -1 {
break
}
time.Sleep(time.Second * 1)
}
if len(resource.Status) > 0 {