From 838430ee2fbde7cb83b5ea60699fcabebe7252b9 Mon Sep 17 00:00:00 2001 From: Jerry Yan <792602257@qq.com> Date: Tue, 3 Jun 2025 09:49:42 +0800 Subject: [PATCH] =?UTF-8?q?30=E7=A7=92=E7=BC=93=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fs/s3_adapter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/s3_adapter.go b/fs/s3_adapter.go index 67a4e83..85a3740 100644 --- a/fs/s3_adapter.go +++ b/fs/s3_adapter.go @@ -171,7 +171,7 @@ func (s *S3Adapter) GetFileList(ctx context.Context, dirPath string, relDt time. cacheItem := cacheItem{ data: fileList, - expires: time.Now().Add(10 * time.Second), + expires: time.Now().Add(30 * time.Second), } s3Cache.Store(cacheKey, cacheItem) log.Println("缓存文件列表", cacheKey)