Skip to main content

MIN_INITIAL_PEER_RECOVERY_INTERVAL

Constant MIN_INITIAL_PEER_RECOVERY_INTERVAL 

Source
pub const MIN_INITIAL_PEER_RECOVERY_INTERVAL: Duration;
Expand description

The minimum time between re-adds of the initial peers, while the peer crawler has no outbound connections and no candidates ready to dial.

Each re-add resolves the DNS seeders and reloads the disk cache, and lets failed initial peers be attempted again after MIN_PEER_RECONNECTION_DELAY.

§Security

This interval bounds the DNS query rate of a node that can’t connect to any peers, regardless of the configured crawl_new_peer_interval.