From 9b323c372d71754fafafbd2e1e6d1d0890bbab4f Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Fri, 29 Oct 2010 02:28:13 +0000 Subject: [PATCH] changed default choker behavior to use 8 unchoke slots (instead of being rate based) --- ChangeLog | 1 + include/libtorrent/session_settings.hpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 4ce21e1c7..876fbf3e6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -54,6 +54,7 @@ * added more detailed instrumentation of the disk I/O thread + * changed default choker behavior to use 8 unchoke slots (instead of being rate based) * fixed error reporting issue in disk I/O thread * fixed file allocation issues on linux * fixed filename encoding and decoding issue on platforms using iconv diff --git a/include/libtorrent/session_settings.hpp b/include/libtorrent/session_settings.hpp index a20f22366..61e0a818d 100644 --- a/include/libtorrent/session_settings.hpp +++ b/include/libtorrent/session_settings.hpp @@ -137,7 +137,7 @@ namespace libtorrent , auto_upload_slots(true) , auto_upload_slots_rate_based(true) #endif - , choking_algorithm(rate_based_choker) + , choking_algorithm(fixed_slot_choker) , seed_choking_algorithm(round_robin) , use_parole_mode(true) , cache_size(1024)