Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix: re-wrap overview scan cache comment (#13077)

[._.]/ Adam Eivybcfbb9c3c412
diff --git a/server/services/dataManager.js b/server/services/dataManager.js
index 222b5b97ee..1331db3fd8 100644
--- a/server/services/dataManager.js
+++ b/server/services/dataManager.js
@@ -360,8 +360,8 @@ async function getDirSizeAndCount(dirPath, { strict = false } = {}) {
// The scan is the multi-second part of the overview (du + a recursive walk per
// category), and the Data page, the resources report and the data-introspection
// harbor all request it. Share one result per `strict` mode for a short window
-// after it completes and coalesce concurrent callers while it is pending; mutations here invalidate it. Rejections are
-// never cached. Busy state and disk capacity are read fresh on every call.
+// after it completes and coalesce concurrent callers while it is pending;
+// mutations here invalidate it. Rejections are never cached. Busy state and disk capacity are read fresh on every call.
const OVERVIEW_SCAN_TTL_MS = 30_000;
const overviewScans = new Map();