This commit is contained in:
邹宗楠
2022-11-07 18:39:59 +08:00
parent c1a4797932
commit 3ab6528e60
9 changed files with 0 additions and 16 deletions

View File

@@ -699,7 +699,6 @@ func ScheduleTimerFunc(name string, handler func(), timeList []string) {
nextTime := jxutils.GetNextTimeFromList(now, timeList)
duration := nextTime.Sub(now) + 1*time.Second
utils.AfterFuncWithRecover(duration, func() {
globals.SugarLogger.Debugf("循环时间序列=====%s", duration)
handler()
ScheduleTimerFunc(name, handler, timeList)
})