From cd10eaf9db9f1552bbf1e23db9b4d9fac850b07e Mon Sep 17 00:00:00 2001 From: mbecker20 Date: Sun, 16 Jul 2023 22:39:55 -0400 Subject: [PATCH] smth --- bin/core/src/monitor.rs | 2 -- bin/core/src/state.rs | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/bin/core/src/monitor.rs b/bin/core/src/monitor.rs index dc312bcf8..9b9c10d89 100644 --- a/bin/core/src/monitor.rs +++ b/bin/core/src/monitor.rs @@ -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(()) diff --git a/bin/core/src/state.rs b/bin/core/src/state.rs index d6cd24da9..511ccb6fb 100644 --- a/bin/core/src/state.rs +++ b/bin/core/src/state.rs @@ -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) }