From 841e04775c57c4c81558eb56ce5b92f104262e03 Mon Sep 17 00:00:00 2001 From: GoEdgeLab Date: Sun, 31 Mar 2024 11:47:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=BC=93=E5=AD=98=E7=B4=A2?= =?UTF-8?q?=E5=BC=95=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_kv_store.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/caches/list_file_kv_store.go b/internal/caches/list_file_kv_store.go index 93c2266..4ca4f45 100644 --- a/internal/caches/list_file_kv_store.go +++ b/internal/caches/list_file_kv_store.go @@ -106,7 +106,7 @@ func (this *KVListFileStore) ExistItem(hash string) (bool, error) { return false, nil } - return item.ExpiresAt >= fasttime.NewFastTime().Unix(), nil + return item.ExpiresAt >= fasttime.Now().Unix(), nil } func (this *KVListFileStore) ExistQuickItem(hash string) (bool, error) {