fix: 修复配置文件路径和报表合并逻辑

This commit is contained in:
renzhiyuan 2026-02-09 17:31:16 +08:00
parent 6b3ef52738
commit bc9801d553
1 changed files with 2 additions and 2 deletions

View File

@ -164,7 +164,7 @@ func (s *SendCardClient) processContentChannel(ctx context.Context, cardSend *Ca
var (
contentBuilder strings.Builder
lastUpdate time.Time
lastUpdate = time.Now()
)
for {
@ -191,7 +191,7 @@ func (s *SendCardClient) processContentChannel(ctx context.Context, cardSend *Ca
case <-heartbeatTicker.C:
if time.Now().Unix()-lastUpdate.Unix() >= HeardBeatX {
log.Info("心跳超时")
log.Infof("心跳超时,当前时间:%d,最后时间:%d", time.Now().Unix(), lastUpdate.Unix())
return
}