Skip to main content

closed_before_ready

Function closed_before_ready 

Source
async fn closed_before_ready(
    child: &mut Child,
    sink: &StartupEventSink,
    elapsed: Duration,
) -> SrvSpawnError
Expand description

Reap an srv that closed its ESTART channel before becoming ready, and say which refusal it was: a server already holding the data folder exits with DATA_DIR_HELD_EXIT, so the supervisor can show that plainly instead of a bare failed start.