diff options
| author | Your Name <you@example.com> | 2026-05-26 18:01:30 +0530 |
|---|---|---|
| committer | Your Name <you@example.com> | 2026-05-26 18:01:30 +0530 |
| commit | e435f7d7b4ad4e4b1d3c21c35df5f41ffd642376 (patch) | |
| tree | ccb0587d8aff2d0513f2cef359349b6e0b1b947f /config.example.toml | |
| parent | 8816a192c95cf539b65975469a2d61aed46f0414 (diff) | |
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
Diffstat (limited to 'config.example.toml')
0 files changed, 0 insertions, 0 deletions