1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-17 17:20:55 +00:00
Beego/toolbox
PaulChen2016 0cb8de4218 Beego 运行过程中动态增减定时任务时,now的时间需要更新,否则等待时间会不正确
beego 启动时,执行toolbox.StartTask()
运行过程中,动态添加定时任务(这个是now时间已经不是starttask的时间了,需要刷新)     
     case <-changed:
			now = time.Now().Local()
			continue
2017-04-19 16:22:58 +08:00
..
healthcheck.go golint all the files 2016-01-18 00:18:21 +08:00
profile_test.go update the documents & comments 2014-08-18 16:41:43 +08:00
profile.go golint toolbox 2015-09-12 23:28:24 +08:00
statistics_test.go Reworked implementation to not return encoded json 2014-10-09 17:07:28 -04:00
statistics.go statistics lock 2016-12-06 14:57:15 +08:00
task_test.go update the documents & comments 2014-08-18 16:41:43 +08:00
task.go Beego 运行过程中动态增减定时任务时,now的时间需要更新,否则等待时间会不正确 2017-04-19 16:22:58 +08:00