Przeglądaj źródła

net/protocol/ping: Correct pong debug message.

parazyd 3 lat temu
rodzic
commit
8b1042ce17
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      src/net/protocol/protocol_ping.rs

+ 2 - 2
src/net/protocol/protocol_ping.rs

@@ -105,9 +105,9 @@ impl ProtocolPing {
 
             debug!(
                 target: "net::protocol_ping::run_ping_pong()",
-                "Received Pong from {}: {}ms",
-                timer.elapsed().as_millis(),
+                "Received Pong from {}: {:?}",
                 self.channel.address(),
+                timer.elapsed(),
             );
 
             // Sleep until next heartbeat