silent bugs

This commit is contained in:
2026-02-12 00:01:40 -06:00
parent b55a96c51c
commit 9b6e29a15c
9 changed files with 80 additions and 44 deletions

View File

@@ -236,10 +236,16 @@ function refreshStatus() {
/**
* Initialize on page load
*/
let statusIntervalId = null;
function initStatusPage() {
// Clear any existing interval from a previous SPA navigation
if (statusIntervalId !== null) {
clearInterval(statusIntervalId);
}
fetchStatus();
// Auto-refresh every 5 minutes to get latest data
setInterval(fetchStatus, 300000);
statusIntervalId = setInterval(fetchStatus, 300000);
}
// Start when page loads