Skip to content

Commit

Permalink
fix: log msg
Browse files Browse the repository at this point in the history
  • Loading branch information
icey-yu committed Sep 2, 2024
1 parent bb94e37 commit 8385052
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/push/push_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func (c *ConsumerHandler) handleMs2PsChat(ctx context.Context, msg []byte) {

if nowSec-sec > 10 {
prommetrics.MsgLoneTimePushCounter.Inc()
log.ZWarn(ctx, "long time push msg", nil, "msg", pbData.String(), "sec", sec, "nowSec", nowSec, "nowSec-sec", nowSec-sec)
log.ZWarn(ctx, "It’s been a while since the message was sent, so the receiver can’t get it now.", nil, "msg", pbData.String(), "sec", sec, "nowSec", nowSec, "nowSec-sec", nowSec-sec)
}
var err error
switch msgFromMQ.MsgData.SessionType {
Expand Down

0 comments on commit 8385052

Please sign in to comment.