Function validate_refresh_interval

Source
pub fn validate_refresh_interval(interval_ms: u64) -> Result<()>
Expand description

Validates refresh interval values

ยงSecurity Considerations

  • Prevents DoS attacks through excessive refresh rates
  • Ensures reasonable bounds for system resource usage
  • Prevents integer overflow in timing calculations