pub fn on_clogged_peer(&self, who: PeerId, _msg: Option<Message<B>>) {
		// We don't do anything but print some diagnostics for now.
		if let Some(peer) = self.context_data.peers.get(&who) {
			debug!(target: "sync", "Clogged peer {} (protocol_version: {:?}; roles: {:?}; \
				known_extrinsics: {:?}; known_blocks: {:?}; best_hash: {:?}; best_number: {:?})",
				who, peer.info.protocol_version, peer.info.roles, peer.known_extrinsics, peer.known_blocks,
				peer.info.best_hash, peer.info.best_number);
		} else {
			debug!(target: "sync", "Peer clogged before being properly connected");
		}
	}
/// Called as a back-pressure mechanism if the networking detects that the peer cannot process
/// our messaging rate fast enough.
Called as a back-pressure mechanism if the networking detects that the peer cannot process
our messaging rate fast enough.
Called as a back - pressure mechanism if the networking detects that the peer cannot process our messaging rate fast enough .
pub fn on_clogged_peer(&self, who: PeerId, _msg: Option<Message<B>>) {
		// We don't do anything but print some diagnostics for now.
		if let Some(peer) = self.context_data.peers.get(&who) {
			debug!(target: "sync", "Clogged peer {} (protocol_version: {:?}; roles: {:?}; \
				known_extrinsics: {:?}; known_blocks: {:?}; best_hash: {:?}; best_number: {:?})",
				who, peer.info.protocol_version, peer.info.roles, peer.known_extrinsics, peer.known_blocks,
				peer.info.best_hash, peer.info.best_number);
		} else {
			debug!(target: "sync", "Peer clogged before being properly connected");
		}
	}
pub fn on_clogged_peer ( & self , who : PeerId , _msg : Option < Message < B > > ) { // We don't do anything but print some diagnostics for now. if let Some ( peer ) = self . context_data . peers . get ( & who ) { debug ! ( target " " " \
 " who peer info protocol_version peer info roles peer known_extrinsics peer known_blocks peer info best_hash peer info best_number ) ; } else { debug ! ( target " " " " ) ; } }
Called as a back-pressure mechanism if the networking detects that the peer cannot process
our messaging rate fast enough.
Called as a back - pressure mechanism if the networking detects that the peer cannot process our messaging rate fast enough .
&self
who
PeerId
_msg
Option<Message<B>>
&self
who
PeerId
_msg
Option<Message<B>>