MAX_DEPTH

Constant MAX_DEPTH 

Source
pub const MAX_DEPTH: usize = 4096;
Expand description

Work limits for untrusted graph packets. Every outgoing edge clones its parent frame, so an adversarial reply (the same child repeated, huge edge names, oversized matrices, very deep chains) could otherwise multiply a small packet into gigabytes. Real IFCX models are far below all of these. Exceeding any limit refuses the program with ImportError::InvalidPacket. Deepest path of nested nodes (a frame’s lineage length).