1
0
mirror of https://github.com/astaxie/beego.git synced 2024-12-22 17:20:50 +00:00

fix bug of tasks that only some but not all are executed

This commit is contained in:
liuweifeng 2018-08-01 11:20:22 +08:00
parent 053a075344
commit d86410a631

View File

@ -428,6 +428,9 @@ func run() {
continue
case <-changed:
now = time.Now().Local()
for _, t := range AdminTaskList {
t.SetNext(now)
}
continue
case <-stop:
return