forked from premiere/premiere-libtorrent
raise default value for active_limit to 500, since it's supposed to be an upper sanity check limit
This commit is contained in:
parent
2e313de898
commit
214ace3efe
|
@ -1,3 +1,4 @@
|
||||||
|
* raise default setting for active_limit
|
||||||
* fall back to copy+remove if rename_file fails
|
* fall back to copy+remove if rename_file fails
|
||||||
* improve handling of filesystems not supporting fallocate()
|
* improve handling of filesystems not supporting fallocate()
|
||||||
* force-proxy no longer disables DHT
|
* force-proxy no longer disables DHT
|
||||||
|
|
|
@ -270,7 +270,7 @@ namespace {
|
||||||
set.set_int(settings_pack::peer_timeout, 20);
|
set.set_int(settings_pack::peer_timeout, 20);
|
||||||
set.set_int(settings_pack::inactivity_timeout, 20);
|
set.set_int(settings_pack::inactivity_timeout, 20);
|
||||||
|
|
||||||
set.set_int(settings_pack::active_limit, 2000);
|
set.set_int(settings_pack::active_limit, 20000);
|
||||||
set.set_int(settings_pack::active_tracker_limit, 2000);
|
set.set_int(settings_pack::active_tracker_limit, 2000);
|
||||||
set.set_int(settings_pack::active_dht_limit, 600);
|
set.set_int(settings_pack::active_dht_limit, 600);
|
||||||
set.set_int(settings_pack::active_seeds, 2000);
|
set.set_int(settings_pack::active_seeds, 2000);
|
||||||
|
|
|
@ -284,7 +284,7 @@ namespace libtorrent
|
||||||
SET(active_dht_limit, 88, 0),
|
SET(active_dht_limit, 88, 0),
|
||||||
SET(active_tracker_limit, 1600, 0),
|
SET(active_tracker_limit, 1600, 0),
|
||||||
SET(active_lsd_limit, 60, 0),
|
SET(active_lsd_limit, 60, 0),
|
||||||
SET(active_limit, 15, &session_impl::trigger_auto_manage),
|
SET(active_limit, 500, &session_impl::trigger_auto_manage),
|
||||||
SET_NOPREV(active_loaded_limit, 0, &session_impl::trigger_auto_manage),
|
SET_NOPREV(active_loaded_limit, 0, &session_impl::trigger_auto_manage),
|
||||||
SET(auto_manage_interval, 30, 0),
|
SET(auto_manage_interval, 30, 0),
|
||||||
SET(seed_time_limit, 24 * 60 * 60, 0),
|
SET(seed_time_limit, 24 * 60 * 60, 0),
|
||||||
|
|
Loading…
Reference in New Issue