pub const MAX_CHAIN_COMMITS: usize = 1_000_000;
Most first-parent commits the chain walk visits before it gives up.