Skip to main content

streaming_recommended

Function streaming_recommended 

Source
pub fn streaming_recommended(
    total_size: u64,
    available: u64,
    headroom_margin: u64,
) -> bool
Expand description

The pure streaming-recommendation predicate: streaming mode is recommended when the plan’s total size, plus a configurable headroom margin, meets or exceeds the volume’s available bytes. Attached to the plan at confirmation (never computed inside the pure planner).