Disconnect from peers quicker on internet issues
## Issue Addressed
Fixes
## Proposed Changes
Change ping timeout errors to return `LowToleranceErrors` so that we disconnect faster on internet failures/changes.
@@ -480,7 +480,7 @@ impl<TSpec: EthSpec> PeerManager<TSpec> {
Protocol::Status => return,
},
},
- RPCError::NegotiationTimeout => PeerAction::HighToleranceError,
+ RPCError::NegotiationTimeout => PeerAction::LowToleranceError,
};
self.report_peer(peer_id, peer_action, ReportSource::RPC);
