From e435f7d7b4ad4e4b1d3c21c35df5f41ffd642376 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 26 May 2026 18:01:30 +0530 Subject: Add HTTP health endpoint on /health and /api/mirror-health - New axum-based health server on port 7335 (configurable via health_port) - Reports status, uptime, cycle_count, last_cycle_ok as JSON - Status is 'ok' on startup and after successful cycles, 'degraded' after failures - Config: storage.health_port defaults to 7335 - Spawned alongside daemon loop, independent of mirror cycles --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index a093dbb..2c6be46 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,3 +22,4 @@ git2 = "0.20" hex = "0.4" clap = { version = "4", features = ["derive", "env"] } dirs = "6" +axum = "0.8" -- cgit v1.2.3