From 2deddf6fd4149d3cdf1eda02a5005ddf93458147 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B6=85=E7=BA=A7=E8=80=81=E7=99=BD=E5=85=94?= Date: Tue, 5 Aug 2025 18:12:32 +0800 Subject: [PATCH] =?UTF-8?q?FEAT=20=3D>=20=E6=9C=AC=E6=AC=A1=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E9=A1=B9=E7=9B=AE=E4=B8=BA=EF=BC=9A=E6=A3=80=E6=9F=A5?= =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nkebao/src/utils/updateChecker.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nkebao/src/utils/updateChecker.ts b/nkebao/src/utils/updateChecker.ts index aca1700c..c0022f18 100644 --- a/nkebao/src/utils/updateChecker.ts +++ b/nkebao/src/utils/updateChecker.ts @@ -10,7 +10,7 @@ interface UpdateInfo { class UpdateChecker { private currentVersion: string; - private checkInterval: number = 1000; // 1秒检查一次(用于测试) + private checkInterval: number = 1000 * 60 * 5; // 5分钟检查一次 private intervalId: NodeJS.Timeout | null = null; private updateCallbacks: ((info: UpdateInfo) => void)[] = []; private currentHashes: string[] = [];