From a654137af921936e1c9cd6415a1a8cce7b53d538 Mon Sep 17 00:00:00 2001 From: Tunglies <77394545+Tunglies@users.noreply.github.com> Date: Sat, 9 Aug 2025 10:04:38 +0800 Subject: [PATCH] fix: adjust cleanup function and reduce refresh interval to 1 second --- src/providers/app-data-provider.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/providers/app-data-provider.tsx b/src/providers/app-data-provider.tsx index 87cd5889..d433118a 100644 --- a/src/providers/app-data-provider.tsx +++ b/src/providers/app-data-provider.tsx @@ -351,7 +351,7 @@ export const AppDataProvider = ({ }; }, { - refreshInterval: 2000, // 2秒刷新一次 + refreshInterval: 1000, // 1秒刷新一次 fallbackData: { connections: [], uploadTotal: 0, downloadTotal: 0 }, keepPreviousData: true, onError: (error) => {