Skip to content

Commit af6254f

Browse files
committed
io_uring: cosmetic fixes
1 parent 1ec9ea3 commit af6254f

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/io_uring.rs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -158,15 +158,13 @@ pub async fn io_loop(
158158
info!("{} 🛰️ Starting TCP server...", NAME);
159159
let bind_addr = format!("0.0.0.0:{}", TCP_SERVER_PORT).parse().unwrap();
160160
let listener = tokio_uring::net::TcpListener::bind(bind_addr).unwrap();
161-
info!(
162-
"{} 🛰️ TCP server now listening on: <u>{}</u>",
163-
NAME, bind_addr
164-
);
161+
info!("{} 🛰️ TCP server bound to: <u>{}</u>", NAME, bind_addr);
165162
loop {
166-
// wait for bluetooth handshake
163+
info!("{} 💤 waiting for bluetooth handshake...", NAME);
167164
tcp_start.notified().await;
168165

169166
// Asynchronously wait for an inbound TCP connection
167+
info!("{} 🛰️ TCP server: listening for phone connection...", NAME);
170168
let retval = listener.accept();
171169
let (stream, addr) = match timeout(TCP_CLIENT_TIMEOUT, retval)
172170
.await

0 commit comments

Comments
 (0)