Change stats fetch interval from 500ms to 2 seconds

Reduces the frequency of stats API calls from twice per second
to once every 2 seconds, reducing server load.
This commit is contained in:
Jeffrey Paul 2025-07-29 04:22:06 +02:00
parent 037bbfb813
commit 1ec0b3e7ca
2 changed files with 206684 additions and 2 deletions

View File

@ -382,9 +382,9 @@
}); });
} }
// Update immediately and then every 500ms // Update immediately and then every 2 seconds
updateStatus(); updateStatus();
setInterval(updateStatus, 500); setInterval(updateStatus, 2000);
</script> </script>
</body> </body>
</html> </html>

206682
log.txt

File diff suppressed because it is too large Load Diff