Function monitord::units::update_unit_stats
source ยท pub async fn update_unit_stats(
config: Config,
connection: Connection,
locked_machine_stats: Arc<RwLock<MachineStats>>,
) -> Result<()>Expand description
Async wrapper than can update uni stats when passed a locked struct