Skip to main content

HARD_MAX_WORK

Constant HARD_MAX_WORK 

Source
pub const HARD_MAX_WORK: usize = 1_000_000;
Expand description

Absolute safety ceilings for one expression-tree calculation.

Requested limits are always clamped to these values. This keeps a persisted or caller-supplied policy from turning malformed source into unbounded host recursion or output.