Constant zebra_network::constants::PEER_DISK_CACHE_UPDATE_INTERVAL

source ยท
pub const PEER_DISK_CACHE_UPDATE_INTERVAL: Duration;
Expand description

The peer address disk cache update interval.

This should be longer than DEFAULT_CRAWL_NEW_PEER_INTERVAL, but shorter than MAX_PEER_ACTIVE_FOR_GOSSIP.

We use a short interval so Zebra instances which are restarted frequently still have useful caches.