Skip to main content

MAX_HOOKS_PER_EVENT

Constant MAX_HOOKS_PER_EVENT 

Source
pub const MAX_HOOKS_PER_EVENT: usize = 32;
Expand description

Hard cap on hooks fired per event. A misconfigured (or malicious) settings.json could otherwise register thousands of entries and fork-bomb the host on every break boundary. 32 is well above any realistic per-event subscription count.