1
0
mirror of https://github.com/astaxie/beego.git synced 2025-06-24 23:50:20 +00:00

Merge pull request #3275 from WiFeng/master

fix bug of tasks that only some but not all are executed
This commit is contained in:
astaxie
2018-08-07 10:07:29 +08:00
committed by GitHub

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