mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-27 12:08:52 +08:00
config
This commit is contained in:
parent
984686e073
commit
5ddc04e992
1
pkg/common/db/cache/rockscache.go
vendored
1
pkg/common/db/cache/rockscache.go
vendored
@ -88,6 +88,7 @@ func getCache[T any](ctx context.Context, rcClient *rockscache.Client, key strin
|
|||||||
}
|
}
|
||||||
err = json.Unmarshal([]byte(v), &t)
|
err = json.Unmarshal([]byte(v), &t)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
log.ZError(ctx, "cache json.Unmarshal failed", err, "key", key, "value", v, "expire", expire)
|
||||||
return t, utils.Wrap(err, "")
|
return t, utils.Wrap(err, "")
|
||||||
}
|
}
|
||||||
return t, nil
|
return t, nil
|
||||||
|
Loading…
x
Reference in New Issue
Block a user