diff --git a/src/App.tsx b/src/App.tsx index efa340f..8fff58c 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -117,7 +117,7 @@ export default function App() { }; load(true); - const interval = setInterval(() => load(false), 30_000); + const interval = setInterval(() => load(false), 120_000); return () => { cancelled = true; clearInterval(interval); }; }, [periodDays, endpointVersion]); diff --git a/src/hooks/useServiceStatus.ts b/src/hooks/useServiceStatus.ts index 49b614c..8bc6fdb 100644 --- a/src/hooks/useServiceStatus.ts +++ b/src/hooks/useServiceStatus.ts @@ -17,7 +17,7 @@ export interface ServicesStatus { const TIMEOUT_MS = 8_000; const SLOW_THRESHOLD_MS = 2_000; -const POLL_INTERVAL_MS = 30_000; +const POLL_INTERVAL_MS = 60_000; async function pingSubsquid(url: string): Promise { const controller = new AbortController();