mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-08-27 22:31:32 +08:00
修复在线修改定时任务多次执行时事务超时问题
This commit is contained in:
@@ -139,7 +139,6 @@ func RefreshStatus(sysCron *entity.SysCron) (err error) {
|
||||
if sysCron == nil {
|
||||
return
|
||||
}
|
||||
g.DumpWithType(sysCron)
|
||||
|
||||
if sysCron.Status == consts.StatusEnabled {
|
||||
return Start(sysCron)
|
||||
|
Reference in New Issue
Block a user