MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / loadConsoleLogs

Function loadConsoleLogs

web/scripts/ragnar_modern.js:9620–9632  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9618 }
9619 }, 10000); // Every 10 seconds when on dashboard (reduced from 5s)
9620
9621 // OPTIMIZATION: Reduce dashboard refresh frequency (was 15s, now 20s)
9622 // Background sync runs every 15s, so 20s refresh is sufficient
9623 autoRefreshIntervals.dashboard = setInterval(() => {
9624 if (currentTab === 'dashboard') {
9625 loadDashboardData();
9626 }
9627 }, 20000); // Every 20 seconds when on dashboard (reduced from 15s)
9628
9629 // Set up periodic update checking
9630 autoRefreshIntervals.updates = setInterval(() => {
9631 checkForUpdatesQuiet();
9632 }, 300000); // Every 5 minutes
9633
9634 // OPTIMIZATION: Defer initial update check (was 5s, now 30s)
9635 // Not critical for initial dashboard load

Callers 3

setupAutoRefreshFunction · 0.70
loadInitialDataFunction · 0.70
loadTabDataFunction · 0.70

Calls 4

errorMethod · 0.80
fetchAPIFunction · 0.70
updateConsoleFunction · 0.70
addConsoleMessageFunction · 0.70

Tested by

no test coverage detected