Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

emitter.setMaxListeners() - Seed loads of torrents #1423

Closed
hellomotow opened this issue Jun 24, 2018 · 1 comment
Closed

emitter.setMaxListeners() - Seed loads of torrents #1423

hellomotow opened this issue Jun 24, 2018 · 1 comment

Comments

@hellomotow
Copy link

@hellomotow hellomotow commented Jun 24, 2018

Hi when running the following command at boot to launch hundreds of torrents I get the following error

webtorrent download /home/vids/torrentdata/torrentfiles/*.torrent -o /home/vids/torrentdata/ --keep-seeding

(node:23279) Warning: Possible EventEmitter memory leak detected. 11 listening listeners added. Use emitter.setMaxListeners() to increase limit

What is the correct way to do this?

What version of WebTorrent? 1.12.3

What operating system and Node.js version? Ubuntu 18.04 Nodejs 6.11.4

@DiegoRBaquero

This comment has been minimized.

Copy link
Member

@DiegoRBaquero DiegoRBaquero commented Jun 25, 2018

It's fine, nothing to worry about. Just a warning that many listeners are added, but done un purpose.

@lock lock bot locked as resolved and limited conversation to collaborators Sep 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.