batch to mongo

This commit is contained in:
skiffer-git
2022-05-20 11:20:21 +08:00
parent 5f25e605d3
commit 00a2a23190
3 changed files with 11 additions and 4 deletions
+1 -1
View File
@@ -74,5 +74,5 @@ func (d *DataBases) BatchInsertChat(userID string, msgList []*pbMsg.MsgDataToMQ,
}
}
log.NewDebug(operationID, "find mgo uid cost time", getCurrentTimestampByMill()-newTime)
return nil
return utils.Wrap(d.SetUserMaxSeq(userID, uint32(currentMaxSeq)), "")
}