diff options
author | Feross Aboukhadijeh <feross@feross.org> | 2015-12-29 19:24:17 +0300 |
---|---|---|
committer | Feross Aboukhadijeh <feross@feross.org> | 2015-12-29 19:46:10 +0300 |
commit | 210741b62b2f9dbab5ce43c10f1473bd8c85b850 (patch) | |
tree | 23fcfa971550d8667fa19d77a5b77c57840ef11b /README.md | |
parent | 8518ea886ae0af22f89b62d000dfd9d43e3e9a20 (diff) |
BREAKING: rename opts.maxPeers -> opts.maxConns
- The underlying option on the `bittorrent-swarm` instance is named
`maxConns` which is a more accurate name
- Let `bittorrent-swarm` handle non-number maxConns values
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -229,7 +229,7 @@ If `opts` is specified, then the default options (shown below) will be overridde ``` js { dht: Boolean|Object, // Enable DHT (default=true), or options object for DHT - maxPeers: Number, // Max number of peers to connect to per torrent (default=100) + maxConns: Number, // Max number of connections per torrent (default=55) nodeId: String|Buffer, // DHT protocol node ID (default=randomly generated) peerId: String|Buffer, // Wire protocol peer ID (default=randomly generated) rtcConfig: Object, // RTCPeerConnection configuration object (default=STUN only) |