test cron

This commit is contained in:
wangchuxiao
2022-11-03 19:16:23 +08:00
parent 9326b10d3a
commit 741cfec1ec
2 changed files with 6 additions and 2 deletions
+4
View File
@@ -166,6 +166,10 @@ func checkMaxSeqWithMongo(operationID, ID string, diffusionType int) error {
if err != nil {
return utils.Wrap(err, "GetNewestMsg failed")
}
if msg == nil {
log.NewInfo(operationID, "msg has del")
return nil
}
msgPb := &server_api_params.MsgData{}
err = proto.Unmarshal(msg.Msg, msgPb)
if err != nil {