Fix system stats graphs resetting and speeding up while a job runs

This commit is contained in:
zyphlar
2026-10-16 23:16:30 -07:00
parent 4aca4c96fd
commit b44ec0341f
+1
View File
@@ -1415,6 +1415,7 @@
} }
function startStatsPolling() { function startStatsPolling() {
if (statsInterval) return; // already polling; keep the history
document.getElementById('sys-stats').style.display = 'block'; document.getElementById('sys-stats').style.display = 'block';
statHistory.cpu = []; statHistory.mem = []; statHistory.disk = []; statHistory.cpu = []; statHistory.mem = []; statHistory.disk = [];
pollSystemStats(); pollSystemStats();