Skip to main content

MAX_REACHABLE

Constant MAX_REACHABLE 

Source
pub const MAX_REACHABLE: usize = 10_000_000;
Expand description

Hard cap on the total number of objects reachable_objects will visit per call. Matches the scale of MAX_ANCESTORS but applies to the full object closure (commits + trees + blobs + chunks), so it is intentionally larger. A repo that exceeds this cap has to split pushes — the push-path is the only caller for now.