feat: cache optimize

pull/1329/head
withchao 2 years ago
parent 55032f6836
commit 7e0c68f477

@ -53,7 +53,7 @@ func (g *objectCacheRedis) DelObjectName(names ...string) ObjectCache {
} }
func (g *objectCacheRedis) getObjectKey(name string) string { 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) { func (g *objectCacheRedis) GetName(ctx context.Context, name string) (*relationtb.ObjectModel, error) {

Loading…
Cancel
Save