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 upDe-duplicate tracker list #306
Closed
Labels
Comments
This comment has been minimized.
This comment has been minimized.
|
Released as 0.38.0. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
There's no mechanism to de-duplicate the list of trackers right now. If a .torrent file or magnet link lists the same tracker twice, we shouldn't connect to that tracker twice.
The tracker list is returned by parse-torrent as the "announce" and "announceList" properties. We could just use uniq on the array, if this issue in parse-torrent is fixed: webtorrent/parse-torrent#9