subspace_farmer::cluster::controller::caches

Function maintain_caches

source
pub async fn maintain_caches(
    cache_group: &str,
    nats_client: &NatsClient,
    farmer_cache: FarmerCache,
    identification_broadcast_interval: Duration,
) -> Result<()>
Expand description

Utility function for maintaining caches by controller in a cluster environment