From efe6476b7b1a8880cce4e3a535abcf894681e298 Mon Sep 17 00:00:00 2001 From: GoEdgeLab Date: Mon, 9 Oct 2023 07:49:21 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=A9=E7=9F=AD=E5=86=85=E5=AD=98=E7=BC=93?= =?UTF-8?q?=E5=AD=98=E7=B4=A2=E5=BC=95=E7=BC=93=E5=AD=98=E4=BF=9D=E7=95=99?= =?UTF-8?q?=E6=97=B6=E9=97=B4?= 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 9ff2dd7..6fab1d2 100644 --- a/internal/caches/list_file.go +++ b/internal/caches/list_file.go @@ -544,7 +544,7 @@ func (this *FileList) UpgradeV3(oldDir string, brokenOnError bool) error { } func (this *FileList) maxExpiresAtForMemoryCache(expiresAt int64) int64 { - var maxTimestamp = fasttime.Now().Unix() + 86400*3 + var maxTimestamp = fasttime.Now().Unix() + 7200 if expiresAt > maxTimestamp { return maxTimestamp }