updated thread select sleep
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Paul 2023-04-22 18:33:44 +02:00
parent 6a99d6b388
commit b4940ffe4a
2 changed files with 2 additions and 2 deletions

View File

@ -107,7 +107,7 @@ pub async fn run() {
}
}
}
_val = sleep_ms(200) => {}
_val = sleep_ms(50) => {}
};
let ctxclone = Arc::clone(&ctxarc);

View File

@ -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()))