Browse Source

Merge pull request #2219 from chriseth/maxPeerCount

Corrected typo about max peer count.
cl-refactor
Gav Wood 10 years ago
parent
commit
71b2bf22f5
  1. 2
      libp2p/Host.cpp

2
libp2p/Host.cpp

@ -391,7 +391,7 @@ void Host::runAcceptor()
{
if (peerCount() > 9 * m_idealPeerCount)
{
clog(NetConnect) << "Dropping incoming connect due to maximum peer count (2 * ideal peer count): " << socket->remoteEndpoint();
clog(NetConnect) << "Dropping incoming connect due to maximum peer count (9 * ideal peer count): " << socket->remoteEndpoint();
socket->close();
if (ec.value() < 1)
runAcceptor();

Loading…
Cancel
Save