Merge branch 'main' into cloudflare

This commit is contained in:
hamster1963 2024-10-22 22:36:42 +08:00
commit 9fe7deaebe
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ export function NetworkChartClient({
{
refreshInterval:
Number(getEnv("NEXT_PUBLIC_NezhaFetchInterval")) || 15000,
isPaused: () => !show,
isVisible: () => show,
},
);

View File

@ -67,7 +67,7 @@ export default function ServerDetailChartClient({
nezhaFetcher,
{
refreshInterval: Number(getEnv("NEXT_PUBLIC_NezhaFetchInterval")) || 5000,
isPaused: () => !show,
isVisible: () => show,
},
);