Simplify Dashboard Uptime onto the shared 7-second hero poll

This commit is contained in:
marvin
2026-09-19 20:05:14 -04:00
parent a413f53577
commit cf313f7abf
7 changed files with 30 additions and 18 deletions
+4
View File
@@ -222,6 +222,10 @@ async function systemHealthSnapshot() {
})() : null,
network: networkRate,
throughput: { liveRequests: storage.performanceLiveCount(60) },
// Same source dashboardSnapshot() already uses for its own uptime figure -- included here too
// so the Dashboard's hero panel can show Uptime as a plain value on the same 7s poll as every
// other hero stat, instead of a separate client-side ticker anchored against a one-time fetch.
uptimeSeconds: Math.floor(process.uptime()),
};
}