From b2c6c3cc07c47f285349d2668fefb0486764a76d Mon Sep 17 00:00:00 2001 From: GoEdgeLab Date: Tue, 3 Oct 2023 19:02:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=BC=93=E5=AD=98=E7=9B=B8?= =?UTF-8?q?=E5=85=B3=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/caches/list_file.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/caches/list_file.go b/internal/caches/list_file.go index c3f1e4e..0fd9e13 100644 --- a/internal/caches/list_file.go +++ b/internal/caches/list_file.go @@ -543,7 +543,7 @@ func (this *FileList) UpgradeV3(oldDir string, brokenOnError bool) error { } func (this *FileList) maxExpiresAtForMemoryCache(expiresAt int64) int64 { - var maxTimestamp = fasttime.Now().Unix() + 86400*7 + var maxTimestamp = fasttime.Now().Unix() + 86400*3 if expiresAt > maxTimestamp { return maxTimestamp }