increase default cache expiry to 5 minutes

This commit is contained in:
Arvid Norberg 2011-11-16 09:49:00 +00:00
parent 85ef2528c6
commit c40d072ab1
1 changed files with 2 additions and 2 deletions

View File

@ -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