Skip to main content

startup_handler

Function startup_handler 

Source
async fn startup_handler()
Expand description

Handler for GET /status/startupz (See https://kubernetes.io/docs/concepts/workloads/pods/probes/#startup-probe).

Startup probe. Should succeed only when the application is started, signalling to kubernetes that it can begin to run readiness and liveness probes.

Note: This endpoint simply returns 200, as Axum being able to serve routes is one of the last things done during service initialization.