mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-04-17 16:00:35 +08:00
fix: adjust cleanup function and reduce refresh interval to 1 second
This commit is contained in:
parent
cb591f19fb
commit
a654137af9
@ -351,7 +351,7 @@ export const AppDataProvider = ({
|
||||
};
|
||||
},
|
||||
{
|
||||
refreshInterval: 2000, // 2秒刷新一次
|
||||
refreshInterval: 1000, // 1秒刷新一次
|
||||
fallbackData: { connections: [], uploadTotal: 0, downloadTotal: 0 },
|
||||
keepPreviousData: true,
|
||||
onError: (error) => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user