Skip to main content

MAX_CONCURRENT_RANGE_PULLS

Constant MAX_CONCURRENT_RANGE_PULLS 

Source
pub const MAX_CONCURRENT_RANGE_PULLS: usize = 4;
Expand description

crate::CacheEngine::origin_range_wire draws that run at once. A caller past the bound waits for a permit rather than degrading, because the degrade is a whole-blob origin pull — more egress, not less.