1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-25 21:11:29 +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
commit 842336834f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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