Browse Source

Corrected typo about max peer count.

cl-refactor
chriseth 10 years ago
parent
commit
e617bfb0f7
  1. 2
      libp2p/Host.cpp

2
libp2p/Host.cpp

@ -391,7 +391,7 @@ void Host::runAcceptor()
{ {
if (peerCount() > 9 * m_idealPeerCount) 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(); socket->close();
if (ec.value() < 1) if (ec.value() < 1)
runAcceptor(); runAcceptor();

Loading…
Cancel
Save