mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-26 03:26:57 +08:00
redis replace go redis
This commit is contained in:
parent
96f2eea111
commit
1c36220c1f
@ -30,7 +30,7 @@ func (d *DataBases) NewSetMessageToCache(msgList []*pbChat.MsgDataToMQ, uid stri
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
log2.NewDebug(operationID, "convert map is ", s)
|
log2.NewDebug(operationID, "convert map is ", s)
|
||||||
val, err := d.rdb.HMSet(ctx, key, s).Result()
|
val, err := d.rdb.HSet(ctx, key, s).Result()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log2.NewWarn(operationID, utils.GetSelfFuncName(), "redis failed", "args:", key, *msg, uid, s, val)
|
log2.NewWarn(operationID, utils.GetSelfFuncName(), "redis failed", "args:", key, *msg, uid, s, val)
|
||||||
failedList = append(failedList, *msg)
|
failedList = append(failedList, *msg)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user