mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-05-05 17:56:50 +08:00
test cron
This commit is contained in:
parent
f3858e8300
commit
3649846423
@ -176,7 +176,7 @@ func checkMaxSeqWithMongo(operationID, ID string, diffusionType int) error {
|
|||||||
seqMongo = msgPb.Seq
|
seqMongo = msgPb.Seq
|
||||||
}
|
}
|
||||||
if math.Abs(float64(seqMongo-uint32(seqRedis))) > 10 {
|
if math.Abs(float64(seqMongo-uint32(seqRedis))) > 10 {
|
||||||
log.NewWarn(operationID, utils.GetSelfFuncName(), seqMongo, seqRedis, "redis maxSeq is different with msg.Seq > 10")
|
log.NewWarn(operationID, utils.GetSelfFuncName(), seqMongo, seqRedis, "redis maxSeq is different with msg.Seq > 10", ID, diffusionType)
|
||||||
} else {
|
} else {
|
||||||
log.NewInfo(operationID, utils.GetSelfFuncName(), diffusionType, ID, "seq and msg OK", seqMongo, seqRedis)
|
log.NewInfo(operationID, utils.GetSelfFuncName(), diffusionType, ID, "seq and msg OK", seqMongo, seqRedis)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user