Skip to main content

SINK_WINDOW

Constant SINK_WINDOW 

Source
pub const SINK_WINDOW: u64 = crate::upload::PROTOCOL_MAX_CHUNK; // 16_777_216u64
Expand description

The largest Range window RangedFetcher::fetch_into asks for: the memory a streamed fetch holds is one of these, whatever the blob’s size. It is the upload protocol’s largest chunk (PROTOCOL_MAX_CHUNK, 16 MiB), so a transfer holds the same bound in either direction.