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 up[CLOSED] start *before* dht is ready #131
Closed
Labels
Comments
This comment has been minimized.
This comment has been minimized.
|
Done! Download starts way faster now because trackers can be used immediately instead of after the initial DHT crawl. |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Friday Jul 25, 2014 at 12:33 GMT
Originally opened as https://github.com/feross/bittorrent-client/issues/35
Right now, 'ready' is not emitted until the dht emits 'ready' (which happens when the routing table is sufficiently populated).
We're delaying
client.add()calls until 'ready' fires, which slows down download start for torrents/magnet uris that have tracker urls. These should start using the tracker urls ASAP and use the DHT once it's initialized in 3-10 seconds.