1
This commit is contained in:
@@ -684,7 +684,6 @@ func ScheduleTimerFuncOnce(name string, handler func(interface{}), timeStr strin
|
||||
duration := nextTime.Sub(now) + 1*time.Second
|
||||
globals.SugarLogger.Debugf("ScheduleTimerFuncOnce, func:%s, duration:%v", name, duration)
|
||||
utils.AfterFuncWithRecover(duration, func() {
|
||||
globals.SugarLogger.Debugf("ScheduleTimerFuncOnce func:%s", name)
|
||||
handler(param)
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user