zebra_network::peer_cache_updater

Function peer_cache_updater

source
pub async fn peer_cache_updater(
    config: Config,
    address_book: Arc<Mutex<AddressBook>>,
) -> Result<(), BoxError>
Expand description

An ongoing task that regularly caches the current address_book to disk, based on config.