|
|
@ -37,6 +37,7 @@ func (d *DataBases) BatchInsertChat(userID string, msgList []*pbMsg.MsgDataToMQ,
|
|
|
|
seqUidNext := ""
|
|
|
|
seqUidNext := ""
|
|
|
|
log.Debug(operationID, "remain ", remain, "insertCounter ", insertCounter, "currentMaxSeq ", currentMaxSeq, userID)
|
|
|
|
log.Debug(operationID, "remain ", remain, "insertCounter ", insertCounter, "currentMaxSeq ", currentMaxSeq, userID)
|
|
|
|
for _, m := range msgList {
|
|
|
|
for _, m := range msgList {
|
|
|
|
|
|
|
|
log.Debug(operationID, "msg node ", m.String(), m.MsgData.ClientMsgID)
|
|
|
|
currentMaxSeq++
|
|
|
|
currentMaxSeq++
|
|
|
|
sMsg := MsgInfo{}
|
|
|
|
sMsg := MsgInfo{}
|
|
|
|
sMsg.SendTime = m.MsgData.SendTime
|
|
|
|
sMsg.SendTime = m.MsgData.SendTime
|
|
|
|