This commit is contained in:
wangchuxiao 2022-12-21 17:41:35 +08:00
parent 49b21fb577
commit fa5be03fc3

View File

@ -106,7 +106,7 @@ func deleteMongoMsg(operationID string, ID string, index int64, delStruct *delMs
if len(msgs.Msg) > db.GetSingleGocMsgNum() {
log.NewWarn(operationID, utils.GetSelfFuncName(), "msgs too large", len(msgs.Msg), msgs.UID)
}
lastMsgSendTime := msgs.Msg[len(msgs.Msg)-1].SendTime
// lastMsgSendTime := msgs.Msg[len(msgs.Msg)-1].SendTime
var hasMsgDoNotNeedDel bool
for i, msg := range msgs.Msg {