added an option to not count inactive torrents against the limits for auto managed torrents
This commit is contained in:
@@ -126,6 +126,7 @@ namespace libtorrent
|
||||
, peer_tos(0)
|
||||
, active_downloads(8)
|
||||
, active_seeds(5)
|
||||
, dont_count_inactive_torrents(true)
|
||||
, auto_manage_interval(30)
|
||||
, share_ratio_limit(2.f)
|
||||
, seed_time_ratio_limit(7.f)
|
||||
@@ -363,6 +364,11 @@ namespace libtorrent
|
||||
int active_downloads;
|
||||
int active_seeds;
|
||||
|
||||
// if this is true, torrents that don't have any significant
|
||||
// transfers are not counted as active when determining which
|
||||
// auto managed torrents to pause and resume
|
||||
bool dont_count_inactive_torrents;
|
||||
|
||||
// the number of seconds in between recalculating which
|
||||
// torrents to activate and which ones to queue
|
||||
int auto_manage_interval;
|
||||
|
Reference in New Issue
Block a user