Skip to main content

MAX_MONITORS

Constant MAX_MONITORS 

Source
pub const MAX_MONITORS: usize = crate::config::MAX_MONITORS; // 8usize
Expand description

Max RATE/LATENCY-monitored endpoints per executor (inline table, no_std).

phase-496 W1 (issue 1471) – generated, not a literal: the NROS_EXECUTOR_MAX_MONITORS knob, whose derived rung is the image’s own monitor_rows count (the sizing descriptor’s [image] monitor_rows), 8 when nothing states or derives it. A table longer than this is REFUSED at install (check_table_capacity), never truncated: the spin loop inspects only the first MAX_MONITORS specs, so a truncating install would boot with the rest of the contract silently unwatched.