work towards connection error

This commit is contained in:
Manuel Araoz 2014-06-02 15:14:28 -03:00
commit 7b2f227bcc
3 changed files with 3 additions and 14 deletions

View file

@ -269,7 +269,6 @@ Network.prototype._setupPeerHandlers = function(openCallback) {
self._checkAnyPeer();
});
p.on('connection', function(dataConn) {
console.log('### NEW INBOUND CONNECTION %d/%d', self.connectedPeers.length, self.maxPeers);
if (self.connectedPeers.length >= self.maxPeers) {