diff options
author | Julen Garcia Leunda <hicom150@gmail.com> | 2020-11-12 19:04:53 +0300 |
---|---|---|
committer | Julen Garcia Leunda <hicom150@gmail.com> | 2020-11-12 19:04:53 +0300 |
commit | 0ba67b8e8f54d888ba0dd14a6e5f4a18d46e1294 (patch) | |
tree | 4d831e47fcec3182e9cc33830143bcaef5be685f /index.js | |
parent | e5445be2f5d64bc545211c604e106dc3bcb10385 (diff) |
Add lsd option to client
Diffstat (limited to 'index.js')
-rw-r--r-- | index.js | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -70,6 +70,7 @@ class WebTorrent extends EventEmitter { this.torrentPort = opts.torrentPort || 0 this.dhtPort = opts.dhtPort || 0 this.tracker = opts.tracker !== undefined ? opts.tracker : {} + this.lsd = opts.lsd === true this.torrents = [] this.maxConns = Number(opts.maxConns) || 55 this.utp = opts.utp === true |