subspace_farmer::cluster::controller::farms

Function maintain_farms

source
pub async fn maintain_farms(
    instance: &str,
    nats_client: &NatsClient,
    plotted_pieces: &Arc<RwLock<PlottedPieces<FarmIndex>>>,
    identification_broadcast_interval: Duration,
) -> Result<()>
Expand description

Utility function for maintaining farms by controller in a cluster environment