added ability to give seeding torrents preference to active slots

This commit is contained in:
Andrew Resch
2009-05-27 19:27:12 +00:00
parent 065bd283cf
commit 6242ae051e
6 changed files with 49 additions and 41 deletions

View File

@@ -3406,6 +3406,7 @@ session_settings
int active_downloads;
int active_seeds;
int active_limit;
bool auto_manage_prefer_seeds;
bool dont_count_slow_torrents;
int auto_manage_interval;
float share_ratio_limit;
@@ -3699,6 +3700,9 @@ torrents active. Torrents that are not auto managed are also counted against the
limits. If there are non-auto managed torrents that use up all the slots, no
auto managed torrent will be activated.
``auto_manage_prefer_seeds`` specifies if libtorrent should prefer giving seeds
active slots or downloading torrents. The default is ``false``.
if ``dont_count_slow_torrents`` is true, torrents without any payload transfers are
not subject to the ``active_seeds`` and ``active_downloads`` limits. This is intended
to make it more likely to utilize all available bandwidth, and avoid having torrents