diff --git a/ol/cli/src/server.rs b/ol/cli/src/server.rs index f604f27d17..a5bc2d910c 100644 --- a/ol/cli/src/server.rs +++ b/ol/cli/src/server.rs @@ -1,12 +1,12 @@ //! `server` web monitor http server use futures::StreamExt; use serde_json::json; -use std::{convert::Infallible, fs, path::PathBuf, process::Command, time::Duration}; +use std::{convert::Infallible, fs, path::PathBuf, process::Command, thread, time::Duration}; use tokio::time::interval; use warp::{sse::ServerSentEvent, Filter}; use ol_types::config::IS_PROD; -use crate::{cache::Vitals, node::node::Node}; +use crate::{cache::Vitals, check::runner, node::node::Node}; #[tokio::main]