Skip to main content

run_readiness_checks_and_open

Function run_readiness_checks_and_open 

Source
pub(super) async fn run_readiness_checks_and_open(
    state: &AppState,
) -> Result<()>
Expand description

Runs the dense + sparse readiness calls and flips state.ready.

Called from the override/cache-hit paths (inline, before returning from run_readiness_probe) and from the background probe task (after the probe completes) so that readiness checks never run concurrently with the probe.