From 4cde952a68289d3d1faea9fe0acb698f64ce5456 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Mon, 26 Sep 2011 05:32:22 +0000 Subject: [PATCH] fix default settings for cache expiry and disk queue size --- include/libtorrent/session_settings.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/libtorrent/session_settings.hpp b/include/libtorrent/session_settings.hpp index 8ad08fc0f..6e868a64c 100644 --- a/include/libtorrent/session_settings.hpp +++ b/include/libtorrent/session_settings.hpp @@ -128,7 +128,7 @@ namespace libtorrent , initial_picker_threshold(4) , allowed_fast_set_size(10) , suggest_mode(no_piece_suggestions) - , max_queued_disk_bytes(256 * 1024) + , max_queued_disk_bytes(1024 * 1024) , max_queued_disk_bytes_low_watermark(0) , handshake_timeout(10) #ifndef TORRENT_DISABLE_DHT @@ -148,7 +148,7 @@ namespace libtorrent , use_parole_mode(true) , cache_size(1024) , cache_buffer_chunk_size(16) - , cache_expiry(60) + , cache_expiry(120) , use_read_cache(true) , explicit_read_cache(0) , explicit_cache_interval(30)