mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-06-07 14:21:55 +00:00
update
This commit is contained in:
parent
019a63a941
commit
a117f2b96d
@ -145,11 +145,11 @@ func (jm *JobManager) start() {
|
|||||||
|
|
||||||
/* monitor job execution */
|
/* monitor job execution */
|
||||||
for {
|
for {
|
||||||
jm.status()
|
//jm.status()
|
||||||
if !jm.isRunning {
|
if !jm.isRunning {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
time.Sleep(time.Second * 25)
|
time.Sleep(time.Second * 1)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* make sure resources are released */
|
/* make sure resources are released */
|
||||||
|
Loading…
Reference in New Issue
Block a user