Skip to main content

backfill_target_runtime

Function backfill_target_runtime 

Source
pub fn backfill_target_runtime(
    session_id: &str,
    target_template_id: &str,
    runtime: &TargetRuntimeSettings,
) -> Result<Option<TargetRuntimeSettings>>
Expand description

Fill a missing snapshot without overwriting a concurrent writer. A deleted or retargeted session returns None; its stale controller copy can be dropped by reload instead of preventing every subsequent reload.