system health in settings

This commit is contained in:
KingKDot
2026-05-22 10:49:29 -05:00
parent eb75f1a49f
commit 238ea09214
5 changed files with 322 additions and 1 deletions
+8
View File
@@ -2494,3 +2494,11 @@ export function recordAutoDeployRun(deployId: string, clientId: string) {
Date.now(),
);
}
export function getDatabaseFileSizeBytes(): number {
try {
return Bun.file(dbPath).size;
} catch {
return 0;
}
}