mirror of
https://github.com/astaxie/beego.git
synced 2025-06-12 16:20:39 +00:00
fix bug of tasks that only some but not all are executed
This commit is contained in:
@ -428,6 +428,9 @@ func run() {
|
||||
continue
|
||||
case <-changed:
|
||||
now = time.Now().Local()
|
||||
for _, t := range AdminTaskList {
|
||||
t.SetNext(now)
|
||||
}
|
||||
continue
|
||||
case <-stop:
|
||||
return
|
||||
|
Reference in New Issue
Block a user