mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
redis replace go redis
This commit is contained in:
parent
47af0d0356
commit
f36b2433a0
@ -31,7 +31,7 @@ func (d *DataBases) NewSetMessageToCache(msgList []*pbChat.MsgDataToMQ, uid stri
|
||||
}
|
||||
log2.NewDebug(operationID, "convert map is ", s)
|
||||
fmt.Println("ts", s)
|
||||
val, err := d.rdb.HSet(ctx, key, s).Result()
|
||||
val, err := d.rdb.HMSet(ctx, key, s).Result()
|
||||
if err != nil {
|
||||
return err
|
||||
log2.NewWarn(operationID, utils.GetSelfFuncName(), "redis failed", "args:", key, *msg, uid, s, val, err.Error())
|
||||
|
Loading…
x
Reference in New Issue
Block a user