Skip to main content

MAX_DISCOVERY_THREADS

Constant MAX_DISCOVERY_THREADS 

Source
pub const MAX_DISCOVERY_THREADS: u32 = 8;
Expand description

Cap on walker thread count. Per [11-discovery.md § 3.5], beyond 8 the fs metadata calls saturate on macOS APFS / Linux ext4. The current sequential walker uses one thread; the cap is reserved for the parallel implementation that lands in Phase 9.