From c40d072ab153732c81223cfa2a60a256db8411f3 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Wed, 16 Nov 2011 09:49:00 +0000 Subject: [PATCH] increase default cache expiry to 5 minutes --- 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 6e868a64c..595693eda 100644 --- a/include/libtorrent/session_settings.hpp +++ b/include/libtorrent/session_settings.hpp @@ -148,7 +148,7 @@ namespace libtorrent , use_parole_mode(true) , cache_size(1024) , cache_buffer_chunk_size(16) - , cache_expiry(120) + , cache_expiry(300) , use_read_cache(true) , explicit_read_cache(0) , explicit_cache_interval(30) @@ -541,7 +541,7 @@ namespace libtorrent // the number of seconds a write cache entry sits // idle in the cache before it's forcefully flushed - // to disk. Default is 60 seconds. + // to disk. Default is 5 minutes. int cache_expiry; // when true, the disk I/O thread uses the disk