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
1 changed files with 3 additions and 0 deletions

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