mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-08 21:47:17 +08:00
feat: cache optimize
This commit is contained in:
parent
55032f6836
commit
7e0c68f477
2
pkg/common/db/cache/s3.go
vendored
2
pkg/common/db/cache/s3.go
vendored
@ -53,7 +53,7 @@ func (g *objectCacheRedis) DelObjectName(names ...string) ObjectCache {
|
||||
}
|
||||
|
||||
func (g *objectCacheRedis) getObjectKey(name string) string {
|
||||
return "OBJECT_INFO:" + name
|
||||
return "OBJECT:" + name
|
||||
}
|
||||
|
||||
func (g *objectCacheRedis) GetName(ctx context.Context, name string) (*relationtb.ObjectModel, error) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user