bitpay/bitcore — pull request #513 by chjj (2014-09-18 20:35:25+00:00)
Title: peerDiscovery: add peerLimit - default: 32.

Add a peer limit to peer discovery. Having it hardcoded at 1000 hits the ulimit in most OS's and is generally unnecessary. 32 is a reasonable default.