Skip to main content

status_handler

Function status_handler 

Source
pub async fn status_handler(
    __arg0: State<Arc<MaintenanceState>>,
) -> Json<MaintenanceSnapshot>
Expand description

GET /maintenance/status — always 200. Consumer apps poll this to detect maintenance proactively without getting 503’d.