-
-
Notifications
You must be signed in to change notification settings - Fork 68
Description
Hey, I saw you switched peer-discovery.js
with this module in torrent-stream
.
I had a fork of torrent-stream
that used a method for a not-so-common occurrence in which a poorly seeded torrent gets all the seeds blacklisted by peer-wire-swarm
for various reasons until none are left.
The only solution I found for this was to create a method that forces reconnecting to all known peers and also restarts the peer discovery in peer-discovery.js
. Restarting peer discovery was important too as from various tests it proved that peer-discovery.js
stopped searching for new peers for some reason, and in poorly seeded torrents and new torrents (in which seeds may be few but their numbers increase fast), rediscovery of peers is a must.
I'm curious if restarting peer discovery would still be needed with torrent-discovery
or not.