forked from github-starred/komodo
smth
This commit is contained in:
@@ -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(())
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user