From 90b1ffae4c17a53414dec17e8689e4276af8edd5 Mon Sep 17 00:00:00 2001 From: icey-yu <1186114839@qq.com> Date: Mon, 12 Aug 2024 16:39:27 +0800 Subject: [PATCH] fix: add log --- internal/push/push_handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/push/push_handler.go b/internal/push/push_handler.go index 249622a59..26241ee2e 100644 --- a/internal/push/push_handler.go +++ b/internal/push/push_handler.go @@ -91,8 +91,8 @@ func (c *ConsumerHandler) handleMs2PsChat(ctx context.Context, msg []byte) { } sec := msgFromMQ.MsgData.SendTime / 1000 nowSec := timeutil.GetCurrentTimestampBySecond() - log.ZDebug(ctx, "push msg", "msg", pbData.String(), "sec", sec, "nowSec", nowSec) if nowSec-sec > 10 { + log.ZWarn(ctx, "ignore push msg", nil, "msg", pbData.String(), "sec", sec, "nowSec", nowSec, "nowSec-sec", nowSec-sec) return } var err error