Browse Source

Multi-tracker: announce to all trackers to avoid stalling issues

with libtorrent.
adaptive-webui-19844
Christophe Dumez 13 years ago
parent
commit
3282e53e93
  1. 5
      src/qtlibtorrent/qbtsession.cpp

5
src/qtlibtorrent/qbtsession.cpp

@ -392,8 +392,9 @@ void QBtSession::configureSession() { @@ -392,8 +392,9 @@ void QBtSession::configureSession() {
//sessionSettings.announce_to_all_trackers = true;
sessionSettings.auto_scrape_interval = 1200; // 20 minutes
#if LIBTORRENT_VERSION_MINOR > 14
// Comply with the multi-tracker specification
sessionSettings.announce_to_all_trackers = false;
// XXX: Does not comply with the multi-tracker specification
// but avoids stalling issues with libtorrent
sessionSettings.announce_to_all_trackers = true;
sessionSettings.announce_to_all_tiers = false;
sessionSettings.auto_scrape_min_interval = 900; // 15 minutes
#endif

Loading…
Cancel
Save