Change "too many resources" to "insufficient resources" in eth2_libp2p (#2713)

## Issue Addressed

NA

## Proposed Changes

Fixes what I assume is a typo in a log message. See the diff for details.

## Additional Info

NA
This commit is contained in:
Paul Hauner 2021-10-15 00:07:12 +00:00
parent 7c23e2142a
commit 9c5a8ab7f2

View File

@ -625,7 +625,7 @@ impl<TSpec: EthSpec> PeerManager<TSpec> {
RPCError::StreamTimeout => match direction { RPCError::StreamTimeout => match direction {
ConnectionDirection::Incoming => { ConnectionDirection::Incoming => {
// we timed out // we timed out
warn!(self.log, "Timed out to a peer's request. Likely too many resources, reduce peer count"); warn!(self.log, "Timed out to a peer's request. Likely insufficient resources, reduce peer count");
return; return;
} }
ConnectionDirection::Outgoing => match protocol { ConnectionDirection::Outgoing => match protocol {