Skip to main content

ready

Function ready 

Source
pub async fn ready(__arg0: State<AppState>) -> StatusCode
Expand description

Readiness probe. Returns 200 only if the upstream accepts a TCP connection, so a platform’s readiness check reflects whether EdgeGuard can actually serve traffic — not merely that the process booted. 503 while the upstream is unreachable. (Liveness, i.e. “is EdgeGuard itself up”, is the separate unconditional /__edgeguard/health.)