Skip to main content

readyz

Function readyz 

Source
pub async fn readyz(__arg0: State<ApiState>) -> Response
Expand description

GET /readyz — readiness probe (unauthenticated).

Unlike /health (pure liveness: “the process is up”), this probes the upstream dependency and returns 503 Service Unavailable when it is unreachable, so orchestrators only route traffic once the server can serve it.