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.
2 parents 1de4983 + d409a82 commit b603ae6Copy full SHA for b603ae6
beacon_node/lighthouse_network/src/rpc/handler.rs
@@ -964,6 +964,9 @@ where
964
request_info: (Id, RequestType<E>),
965
error: StreamUpgradeError<RPCError>,
966
) {
967
+ // This dialing is now considered failed
968
+ self.dial_negotiated -= 1;
969
+
970
let (id, req) = request_info;
971
972
// map the error
@@ -989,9 +992,6 @@ where
989
992
StreamUpgradeError::Apply(other) => other,
990
993
};
991
994
- // This dialing is now considered failed
- self.dial_negotiated -= 1;
-
995
self.outbound_io_error_retries = 0;
996
self.events_out
997
.push(HandlerEvent::Err(HandlerErr::Outbound {
0 commit comments