DHT Requests Timeout
cyrillicw opened this issue · comments
cyrillicw commented
In order to download a file, the client makes requests to DHT in order to find out the peers to download from. If there are no such peers, then the client will repeat the effort again. Is there a possibility to regulate this timeout?
Oleg commented
There's no need for that. DHT works instantly. So you either found the peers or they are not available.
Arvid Norberg commented
yes, there's a dht_announce_interval
, which defaults to 15 minutes.
https://libtorrent.org/reference-Settings.html#dht_announce_interval
cyrillicw commented
Thank you!