Constant zebra_network::constants::OVERLOAD_PROTECTION_INTERVAL
source ยท pub const OVERLOAD_PROTECTION_INTERVAL: Duration;
Expand description
The duration it takes for the drop probability of an overloaded connection to
reach MIN_OVERLOAD_DROP_PROBABILITY
.
Peer connections that receive multiple overloads have a higher probability of being dropped.
The probability of a connection being dropped gradually decreases during this interval
until it reaches the default drop probability (MIN_OVERLOAD_DROP_PROBABILITY
).
Increasing this number increases the rate at which connections are dropped.