refactor: delete message and message batch use lua.

This commit is contained in:
Gordon 2024-06-01 10:55:04 +08:00
parent 91ea5d1fe8
commit e942320040

View File

@ -72,6 +72,7 @@ func (c *msgCache) SetMessagesToCache(ctx context.Context, conversationID string
var values []string
for _, key := range keys {
if msg, ok := msgMap[key]; ok {
fmt.Print("rdb msgData is ", key, msg)
s, err := msgprocessor.Pb2String(msg)
if err != nil {
return err