1
0

[loop-cycle-53] refactor: break circular imports between packages (#164) (#193)

This commit is contained in:
2026-03-15 12:52:18 -04:00
parent b3840238cb
commit 4a68f6cb8b
10 changed files with 195 additions and 173 deletions

View File

@@ -298,9 +298,9 @@ def get_live_system_status() -> dict[str, Any]:
# Uptime
try:
from dashboard.routes.health import _START_TIME
from config import APP_START_TIME
uptime = (datetime.now(UTC) - _START_TIME).total_seconds()
uptime = (datetime.now(UTC) - APP_START_TIME).total_seconds()
result["uptime_seconds"] = int(uptime)
except Exception as exc:
logger.debug("Uptime calculation failed: %s", exc)