Skip to main content

warn_limit_exhausted

Function warn_limit_exhausted 

Source
pub fn warn_limit_exhausted(
    name: TrackedLimit,
    observed: usize,
    capacity: usize,
)
Expand description

Emit a structured/logged warning for a limit that has already been exhausted. Use this for runtime caps such as CPU or heap exhaustion where there is no continuously sampled queue depth to observe before the terminal edge.