We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7a4f33 commit 916b886Copy full SHA for 916b886
src/main.rs
@@ -84,7 +84,6 @@ async fn main() -> Result<(), String> {
84
}
85
86
async fn ws_handler(ws: WebSocketUpgrade) -> impl IntoResponse {
87
- println!("WebSocket connection requested");
88
ws.on_upgrade(handle_socket)
89
90
@@ -98,8 +97,6 @@ async fn handle_socket(mut socket: WebSocket) {
98
97
return;
99
100
101
- println!("Client connected");
102
-
103
let mut last_connected = true;
104
loop {
105
let latest_update = LATEST_UPDATE.read().unwrap().clone();
@@ -126,6 +123,4 @@ async fn handle_socket(mut socket: WebSocket) {
126
123
127
124
tokio::time::sleep(Duration::from_millis(1000)).await;
128
125
129
130
- println!("Client disconnected");
131
0 commit comments