mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-01-13 17:25:11 +08:00
fix: add log
This commit is contained in:
parent
7110183892
commit
90b1ffae4c
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user