Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upEvery torrent opens 3 new websockets for tracking #1062
Comments
This comment has been minimized.
This comment has been minimized.
|
@feross Seems the pool broke! This is urgent. Will investigate. |
This comment has been minimized.
This comment has been minimized.
|
This is the commit that should be reverted: webtorrent/bittorrent-tracker@3f3db7d Sockets are no longer closed on eviction. Need to fix that in uwt too. |
This comment has been minimized.
This comment has been minimized.
|
@DiegoRBaquero Right you are! Sorry, this is my bad! PR incoming. |
This comment has been minimized.
This comment has been minimized.
|
Just committed to |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
@feross can we get a new webtorrent build? We should automate builds on modules update (at least modules built specifically for webtorrent such as the tracker(?)) |
This comment has been minimized.
This comment has been minimized.
|
@DiegoRBaquero Done. Published as 0.98.10. @DiegoRBaquero I also gave you npm publish rights so that you can help with this process in the future. You can do a build with You can run Let me know if you have any questions or run into problems. |
This comment has been minimized.
This comment has been minimized.
|
This thread has been automatically locked because it has not had recent activity. To discuss futher, please open a new issue. |
What version of WebTorrent?
0.98.8
What operating system and Node.js version?
Windows 10 & Mac OSX Sierra
What browser and version? (if using WebTorrent in the browser)
Chrome Version 56.0.2924.87 (64-bit)
What did you expect to happen?
Not opening 3 websockets for tracking per torrent.
What actually happened?
Every torrent you add, 3 websockets are opened for tracking. When adding many torrents at a time this causes browsers to crash. Even adding 3-4 torrents makes it almost unusable. Surely it makes more sense to open 3 trackers and send 300 messages than open 300 trackers and send 300 messages.