diff --git a/src/ipblc.rs b/src/ipblc.rs index 7561992..1cf605a 100644 --- a/src/ipblc.rs +++ b/src/ipblc.rs @@ -107,7 +107,7 @@ pub async fn run() { } } } - _val = sleep_ms(200) => {} + _val = sleep_ms(50) => {} }; let ctxclone = Arc::clone(&ctxarc); diff --git a/src/websocket.rs b/src/websocket.rs index c5bf991..bb53a87 100644 --- a/src/websocket.rs +++ b/src/websocket.rs @@ -88,7 +88,7 @@ pub async fn websocketconnect<'a>( }; break; } - print!(" connected!\n"); + println!("connected"); let msg = json!({ "hostname": hostname }); socket .write_message(Message::Text(msg.to_string()))