atproto relay in zig zlay.waow.tech
relay zig atproto

fix: harden liveness probe — DB health check, serve on metrics port master

_health on port 3000 competed with consumer WebSocket traffic, causing k8s probe timeouts under load. also returned unconditional 200 without actually checking database connectivity. - _health now runs SELECT 1 against postgres, returns 500 on failure - metrics port (3001) serves /_health alongside /metrics, with routing - k8s probes move to port 3001 (in relay deploy config) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>


+36 -13
2 changed files