From 6ecb25121b20a6ab85be9e88da24c19f236a712a Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sat, 20 Mar 2010 02:43:33 +0000 Subject: [PATCH] disabled auto disconnect_peers feature since it seems to be buggy --- ChangeLog | 1 + include/libtorrent/session_settings.hpp | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8d229d633..78934159e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -121,6 +121,7 @@ * made the DHT socket bind to the same interface as the session * fixed issue where an http proxy would not be used on redirects * Solaris build fixes + * disabled buggy disconnect_peers feature release 0.14.9 diff --git a/include/libtorrent/session_settings.hpp b/include/libtorrent/session_settings.hpp index 585f26347..43cc70c28 100644 --- a/include/libtorrent/session_settings.hpp +++ b/include/libtorrent/session_settings.hpp @@ -152,8 +152,8 @@ namespace libtorrent , share_ratio_limit(2.f) , seed_time_ratio_limit(7.f) , seed_time_limit(24 * 60 * 60) // 24 hours - , peer_turnover(1 / 50.f) - , peer_turnover_cutoff(1.f) + , peer_turnover(1 / 100.f) + , peer_turnover_cutoff(1.1f) // disable until the crash is resolved , close_redundant_connections(true) , auto_scrape_interval(1800) , auto_scrape_min_interval(300)