mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-12-13 07:46:43 +00:00
update GA
This commit is contained in:
@@ -110,6 +110,7 @@ func (jm *JobManager) start() {
|
|||||||
}
|
}
|
||||||
wg.Wait()
|
wg.Wait()
|
||||||
jm.isRunning = true
|
jm.isRunning = true
|
||||||
|
log.Info(jm.jobStatus)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* monitor job execution */
|
/* monitor job execution */
|
||||||
@@ -289,7 +290,9 @@ func (jm *JobManager) status() MsgJobStatus {
|
|||||||
tasksStatus[i] = res.Status
|
tasksStatus[i] = res.Status
|
||||||
}
|
}
|
||||||
|
|
||||||
jm.checkStatus(tasksStatus)
|
if jm.isRunning {
|
||||||
|
jm.checkStatus(tasksStatus)
|
||||||
|
}
|
||||||
return MsgJobStatus{Status: tasksStatus}
|
return MsgJobStatus{Status: tasksStatus}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user