Skip to main content

MIN_POLL_INTERVAL_MS

Constant MIN_POLL_INTERVAL_MS 

Source
pub const MIN_POLL_INTERVAL_MS: u64 = 100;
Expand description

Lower bound on the poll interval, in milliseconds. A too-small (or zero) value would busy-loop the event poll and peg a CPU core, so every consumer must go through Settings::poll_interval_ms_clamped rather than reading the raw field.