Skip to main content

boot_reattach

Function boot_reattach 

Source
pub async fn boot_reattach(fresh: &mut WorkerHolder, last_good: Option<String>)
Expand description

Re-attach last_good on a freshly-booted holder if it differs from the boot’s initial attachment (spec §4.3). Best-effort: a re-attach failure is swallowed (the fresh worker is still usable at its bootstrap program; the caller’s retry will surface any real problem).