refactor: delete message and message batch use lua.

This commit is contained in:
Gordon 2024-05-31 19:13:48 +08:00
parent 1dffc3f0eb
commit 9bcda48152

View File

@ -172,7 +172,7 @@ func (c *msgCache) GetMessagesBySeq(ctx context.Context, conversationID string,
msg := &sdkws.MsgData{}
msgString, ok := value.(string)
fmt.Sprintf("get result", "seq", seq, "msg string", msgString)
fmt.Println("get result", "seq", seq, "msg string", msgString)
if !ok || msgprocessor.String2Pb(msgString, msg) != nil {
failedSeqs = append(failedSeqs, seq)
continue