diff --git a/protocols/ping/src/handler.rs b/protocols/ping/src/handler.rs index b9bd25c52ea..af7a55a13bd 100644 --- a/protocols/ping/src/handler.rs +++ b/protocols/ping/src/handler.rs @@ -183,6 +183,7 @@ impl Handler { >, ) { self.outbound = None; // Request a new substream on the next `poll`. + self.interval.reset(Duration::new(0, 0)); let error = match error { StreamUpgradeError::NegotiationFailed => {