Calm down with the fetches

This commit is contained in:
Jack Kingsman
2026-01-19 11:51:06 -08:00
parent 0138233743
commit a8c34fbd9e
4 changed files with 6 additions and 6 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -13,7 +13,7 @@
<link rel="shortcut icon" href="/favicon.ico" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
<link rel="manifest" href="/site.webmanifest" />
<script type="module" crossorigin src="/assets/index-BeiXDnDV.js"></script>
<script type="module" crossorigin src="/assets/index-DviEalHS.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-CnRBRJ10.css">
</head>
<body>
+2 -2
View File
@@ -142,8 +142,8 @@ export function CrackerPanel({
.catch(() => setUndecryptedPacketCount(null));
};
fetchCount();
// Refresh periodically
const interval = setInterval(fetchCount, 30000);
// Refresh hourly (this is just for display; not critical to be up-to-date)
const interval = setInterval(fetchCount, 3600000);
return () => clearInterval(interval);
}, []);