v.0.11.4
This commit is contained in:
@@ -905,7 +905,9 @@
|
||||
if (!state.appStarted) state.appStarted=true;
|
||||
await initialLoad();
|
||||
connectWebSocket();
|
||||
if (!state.refreshTimer) state.refreshTimer=setInterval(refreshStats,30000);
|
||||
// Live throughput already arrives over WebSocket. Aggregate SQLite-backed
|
||||
// cards/charts do not need to be recomputed every 30 seconds.
|
||||
if (!state.refreshTimer) state.refreshTimer=setInterval(refreshStats,60000);
|
||||
if ('ResizeObserver' in window && !startApplication.observer) {
|
||||
startApplication.observer=new ResizeObserver(()=>scheduleChartRender());
|
||||
document.querySelectorAll('.view,.chart-panel,.donut-panel').forEach(el=>startApplication.observer.observe(el));
|
||||
|
||||
Reference in New Issue
Block a user