diff options
Diffstat (limited to 'src/routes/start.rs')
-rw-r--r-- | src/routes/start.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/start.rs b/src/routes/start.rs index b1c8a73..5b73281 100644 --- a/src/routes/start.rs +++ b/src/routes/start.rs | |||
@@ -47,7 +47,7 @@ pub async fn start(State(state): State<Arc<crate::AppState>>, headers: HeaderMap | |||
47 | let uuid_gencc = uuid_gen.clone(); | 47 | let uuid_gencc = uuid_gen.clone(); |
48 | tokio::spawn(async move{ | 48 | tokio::spawn(async move{ |
49 | debug!("Init ping service"); | 49 | debug!("Init ping service"); |
50 | state.ping_map.lock().await.insert(uuid_gen, ("192.168.178.94".to_string(), false)); | 50 | state.ping_map.insert(uuid_gen, ("192.168.178.94".to_string(), false)); |
51 | 51 | ||
52 | warn!("{:?}", state.ping_map); | 52 | warn!("{:?}", state.ping_map); |
53 | 53 | ||