调试日志
This commit is contained in:
parent
00a8efc21d
commit
05a5b5237b
@ -190,14 +190,19 @@ func (c *ChampshipMgr) ReloadActivity() {
|
||||
log.Debug("championship reload activity failed, no active, aid:%d", activityCfg.AId)
|
||||
return
|
||||
}
|
||||
log.Debug("step1")
|
||||
t := dispterTimer["zero"]
|
||||
if t != nil {
|
||||
t.Stop()
|
||||
}
|
||||
log.Debug("step2")
|
||||
|
||||
timeDuration := activityCfg.Endtime - GoUtil.Now()
|
||||
t = c.mDispatr.AfterFunc(time.Duration(timeDuration)*time.Second, func() {
|
||||
c.ZeroUpdate()
|
||||
})
|
||||
log.Debug("step3")
|
||||
|
||||
dispterTimer["zero"] = t
|
||||
log.Debug("ChampshipMgr reload activity success, activity endtime:%d, now:%d, remain:%d, next zero update time:%s", activityCfg.Endtime, GoUtil.Now(), activityCfg.Endtime-GoUtil.Now(), GoUtil.FormatTime(activityCfg.Endtime))
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user