Closed jeremyckahn closed 1 year ago
Thanks for catching that! At one point the torrent module only specified 3 default trackers, which is why the docs made mention of it. In any case, that info is now outdated and irrelevant anyway since there's no effect in passing a larger number than the length of the current tracker list. I've removed it from the docs.
That makes sense. Thanks for the context and for updating @dmotz!
Hi, per the documentation for
trackerRedundancy
:However, I'm not seeing this maximum limit reflected in the code. Here's the only place in the code where
trackerRedundancy
seems to be read: https://github.com/dmotz/trystero/blob/1602156746f8f1009e67f4c2fd9e8b192b29bce0/src/torrent.js#L39-L44Is the maximum of 3 enforced in some less obvious way? If not, is there any reason one couldn't set
trackerRedundancy
to a higher number?