mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-12-13 07:46:43 +00:00
update
This commit is contained in:
@@ -53,6 +53,7 @@ func (jm *JobManager) start() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if InstanceOfConfiguration().mock {
|
if InstanceOfConfiguration().mock {
|
||||||
|
jm.scheduler.UpdateProgress(jm.job, Running)
|
||||||
jm.isRunning = false
|
jm.isRunning = false
|
||||||
duration := InstanceOfMocker().GetDuration(jm.job, jm.resources)
|
duration := InstanceOfMocker().GetDuration(jm.job, jm.resources)
|
||||||
log.Info("mock ", jm.job.Name, ", wait ", duration)
|
log.Info("mock ", jm.job.Name, ", wait ", duration)
|
||||||
|
|||||||
Reference in New Issue
Block a user