Skip to main content

DEFAULT_PEER_ROTATION_INTERVAL

Constant DEFAULT_PEER_ROTATION_INTERVAL 

Source
pub const DEFAULT_PEER_ROTATION_INTERVAL: Duration;
Expand description

Default mean interval for the jittered peer rotation timer.

The actual fire interval is uniformly random in [mean * 3/5, mean * 7/5]. With the default of 5 minutes that gives a [3 min, 7 min] range, matching geth’s peer dropper.