This commit is contained in:
mbecker20
2023-07-16 22:39:55 -04:00
parent e0f69a6420
commit cd10eaf9db
2 changed files with 2 additions and 4 deletions

View File

@@ -157,8 +157,6 @@ impl State {
async fn handle_server_stats(&self, server: &Server, stats: AllSystemStats) {
let inner = || async {
let health = get_server_health(server, &stats);
anyhow::Ok(())

View File

@@ -67,8 +67,8 @@ impl State {
}
.into();
// let state_clone = state.clone();
// tokio::spawn(async move { state_clone.monitor().await });
let state_clone = state.clone();
tokio::spawn(async move { state_clone.monitor().await });
Ok(state)
}