From 3180c72b53c28572270c4ffe65906441a22d2112 Mon Sep 17 00:00:00 2001 From: Darren Yu Date: Tue, 24 Feb 2026 14:37:57 +0800 Subject: [PATCH] fix(dbfs): folder summary type error in cache (#3332) * fix(dbfs): folder summary type error in cache * Update dbfs.go --- pkg/filemanager/fs/dbfs/dbfs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/filemanager/fs/dbfs/dbfs.go b/pkg/filemanager/fs/dbfs/dbfs.go index 9037e281..f1c74503 100644 --- a/pkg/filemanager/fs/dbfs/dbfs.go +++ b/pkg/filemanager/fs/dbfs/dbfs.go @@ -494,7 +494,7 @@ func (f *DBFS) Get(ctx context.Context, path *fs.URI, opts ...fs.Option) (fs.Fil // cache the summary newSummary.CalculatedAt = time.Now() - f.cache.Set(fmt.Sprintf("%s%d", folderSummaryCachePrefix, target.ID()), newSummary, f.settingClient.FolderPropsCacheTTL(ctx)) + f.cache.Set(fmt.Sprintf("%s%d", folderSummaryCachePrefix, target.ID()), *newSummary, f.settingClient.FolderPropsCacheTTL(ctx)) target.FileFolderSummary = newSummary } }