From 9d6692db0c3cf4fdf02dbaf1db77355271f63a02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E7=A5=A5=E8=B6=85?= Date: Thu, 2 Nov 2023 14:14:28 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=9B=E4=B8=80=E6=AD=A5=E7=BC=A9=E7=9F=AD?= =?UTF-8?q?=E7=BC=93=E5=AD=98Key=E4=B8=B4=E6=97=B6=E7=BC=93=E5=AD=98?= =?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 aef579a..c7f3404 100644 --- a/internal/caches/list_file.go +++ b/internal/caches/list_file.go @@ -566,7 +566,7 @@ func (this *FileList) UpgradeV3(oldDir string, brokenOnError bool) error { } func (this *FileList) maxExpiresAtForMemoryCache(expiresAt int64) int64 { - var maxTimestamp = fasttime.Now().Unix() + 7200 + var maxTimestamp = fasttime.Now().Unix() + 3600 if expiresAt > maxTimestamp { return maxTimestamp }