aboutsummaryrefslogtreecommitdiff
path: root/src/routes/start.rs
diff options
context:
space:
mode:
authorFxQnLr <[email protected]>2023-10-29 20:30:01 +0100
committerFxQnLr <[email protected]>2023-10-29 20:30:01 +0100
commit84c32953ae5f52be44af4b48381747f55cb04f4a (patch)
tree6b7ffd4d7ac7b89bb9bf169be7ba6d266f79d650 /src/routes/start.rs
parent0cca10290d089aabac8f2e4356cfaf80f06ae194 (diff)
downloadwebol-84c32953ae5f52be44af4b48381747f55cb04f4a.tar
webol-84c32953ae5f52be44af4b48381747f55cb04f4a.tar.gz
webol-84c32953ae5f52be44af4b48381747f55cb04f4a.zip
impl dashmap
Diffstat (limited to 'src/routes/start.rs')
-rw-r--r--src/routes/start.rs2
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