进一步缩短缓存Key临时缓存时间

This commit is contained in:
GoEdgeLab
2023-11-02 14:14:28 +08:00
parent 7b1b7a9f58
commit c13007fbee

View File

@@ -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
}