mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-06-07 22:31:55 +00:00
update
This commit is contained in:
parent
4a2bf436c7
commit
9e2b1f4941
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user