mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-06-07 06:11:56 +00:00
update
This commit is contained in:
parent
f2768984ae
commit
4971c41991
@ -179,7 +179,7 @@ func (jm *JobManager) start() {
|
||||
}
|
||||
InstanceOfOptimizer().FeedStats(jm.job, "Worker", stats)
|
||||
|
||||
if len(jm.job.Tasks) == 1 && !isShare && !isScheduleAhead {
|
||||
if len(jm.job.Tasks) == 1 && !isShare && !isScheduleAhead && jm.job.Status == Finished {
|
||||
InstanceOfOptimizer().FeedTime(jm.job, stats)
|
||||
}
|
||||
log.Info("JobMaster exited ", jm.job.Name)
|
||||
|
Loading…
Reference in New Issue
Block a user