Skip to main content

MAX_FEDERATION_DEPTH

Constant MAX_FEDERATION_DEPTH 

Source
pub const MAX_FEDERATION_DEPTH: usize = 8;
Expand description

Maximum number of nested federation levels. Deep enough for any sane stack-of-stacks; shallow enough that a runaway recursion fails fast with a readable chain instead of exhausting the filesystem.