Decreased log severity for verloc-related functionalities (#611)
* Decreased log severity for verloc-related functionalities * Removed unused variable
This commit is contained in:
committed by
GitHub
parent
a47bbf1e67
commit
ea08fad2e0
@@ -79,8 +79,7 @@ impl ConnectionHandler {
|
||||
}
|
||||
|
||||
pub(crate) async fn handle_connection(self: Arc<Self>, conn: TcpStream, remote: SocketAddr) {
|
||||
// debug!("Starting connection handler for {:?}", remote);
|
||||
info!("Starting connection handler for {:?}", remote);
|
||||
debug!("Starting connection handler for {:?}", remote);
|
||||
|
||||
let mut framed_conn = Framed::new(conn, EchoPacketCodec);
|
||||
while let Some(echo_packet) = framed_conn.next().await {
|
||||
|
||||
@@ -252,7 +252,7 @@ impl RttMeasurer {
|
||||
let execution_result = result.expect("the measurement task panicked!");
|
||||
let measurement_result = match execution_result.0 {
|
||||
Err(err) => {
|
||||
warn!(
|
||||
debug!(
|
||||
"Failed to perform measurement for {} - {}",
|
||||
execution_result.1.to_base58_string(),
|
||||
err
|
||||
|
||||
@@ -85,8 +85,7 @@ impl PacketSender {
|
||||
let mut results = Vec::with_capacity(self.packets_per_node);
|
||||
|
||||
let mut seq = self.random_sequence_number();
|
||||
for i in 0..self.packets_per_node {
|
||||
println!("packet {}/{}", i + 1, self.packets_per_node);
|
||||
for _ in 0..self.packets_per_node {
|
||||
let packet = EchoPacket::new(seq, &self.identity);
|
||||
let start = tokio::time::Instant::now();
|
||||
// TODO: should we get the start time after or before actually sending the data?
|
||||
|
||||
Reference in New Issue
Block a user