mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 15:00:54 +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:
commit
842336834f
@ -428,6 +428,9 @@ func run() {
|
||||
continue
|
||||
case <-changed:
|
||||
now = time.Now().Local()
|
||||
for _, t := range AdminTaskList {
|
||||
t.SetNext(now)
|
||||
}
|
||||
continue
|
||||
case <-stop:
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user