fix: adjust cleanup function and reduce refresh interval to 1 second

This commit is contained in:
Tunglies
2025-08-09 10:04:38 +08:00
parent cb591f19fb
commit a654137af9

View File

@@ -351,7 +351,7 @@ export const AppDataProvider = ({
};
},
{
refreshInterval: 2000, // 2秒刷新一次
refreshInterval: 1000, // 1秒刷新一次
fallbackData: { connections: [], uploadTotal: 0, downloadTotal: 0 },
keepPreviousData: true,
onError: (error) => {