mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-06-07 14:21:55 +00:00
update GA
This commit is contained in:
parent
1a5172cdba
commit
770bfcbed0
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if jm.isRunning {
|
||||||
jm.checkStatus(tasksStatus)
|
jm.checkStatus(tasksStatus)
|
||||||
|
}
|
||||||
return MsgJobStatus{Status: tasksStatus}
|
return MsgJobStatus{Status: tasksStatus}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user