From 7e0c68f47780559abf67393f6c5aad7658dcc9e8 Mon Sep 17 00:00:00 2001 From: withchao <993506633@qq.com> Date: Thu, 2 Nov 2023 16:39:27 +0800 Subject: [PATCH] feat: cache optimize --- pkg/common/db/cache/s3.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/common/db/cache/s3.go b/pkg/common/db/cache/s3.go index f8f8894b6..ed9b7bc47 100644 --- a/pkg/common/db/cache/s3.go +++ b/pkg/common/db/cache/s3.go @@ -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) {