congestion-limiter 0.1.0

Dynamic congestion-based concurrency limits for controlling backpressure
Documentation
1
2
3
4
5
6
use std::time::Duration;

pub(crate) const MIN_SAMPLE_LATENCY: Duration = Duration::from_micros(1);

pub(crate) const DEFAULT_MIN_LIMIT: usize = 1;
pub(crate) const DEFAULT_MAX_LIMIT: usize = 1000;