🔇 remove debugging println
							parent
							
								
									814fee2bd5
								
							
						
					
					
						commit
						5665f484a2
					
				|  | @ -71,8 +71,6 @@ Use a longer timeout if some servers need longer than 500 ms to respond: | |||
| lookaround client --timeout-ms 1000 | ||||
| ``` | ||||
| 
 | ||||
| For less common uses, see [the command-line documentation.](docs/cli.md) | ||||
| 
 | ||||
| ## Contributing | ||||
| Pull requests are welcome. This is a hobby project, so I may reject  | ||||
| contributions that are too big to review. | ||||
|  |  | |||
|  | @ -1,3 +0,0 @@ | |||
| # Command-line args | ||||
| 
 | ||||
| 
 | ||||
|  | @ -97,8 +97,6 @@ async fn listen_for_responses ( | |||
| 	socket: &UdpSocket, 
 | ||||
| 	peers: &mut HashMap <SocketAddr, ServerResponse> | ||||
| ) { | ||||
| 	let start_time = Instant::now (); | ||||
| 	
 | ||||
| 	loop { | ||||
| 		let (msgs, remote_addr) = match recv_msg_from (socket).await { | ||||
| 			Err (_) => continue, | ||||
|  | @ -118,9 +116,6 @@ async fn listen_for_responses ( | |||
| 			} | ||||
| 		} | ||||
| 		
 | ||||
| 		if peers.insert (remote_addr, resp).is_none () { | ||||
| 			let now = Instant::now (); | ||||
| 			// println! ("Added peer at {} ms", (now - start_time).as_millis ());
 | ||||
| 		} | ||||
| 		peers.insert (remote_addr, resp); | ||||
| 	} | ||||
| } | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 _
						_