fix: adjust cleanup function and reduce refresh interval to 1 second
This commit is contained in:
@@ -351,7 +351,7 @@ export const AppDataProvider = ({
|
||||
};
|
||||
},
|
||||
{
|
||||
refreshInterval: 2000, // 2秒刷新一次
|
||||
refreshInterval: 1000, // 1秒刷新一次
|
||||
fallbackData: { connections: [], uploadTotal: 0, downloadTotal: 0 },
|
||||
keepPreviousData: true,
|
||||
onError: (error) => {
|
||||
|
||||
Reference in New Issue
Block a user