increase default cache expiry to 5 minutes
This commit is contained in:
parent
85ef2528c6
commit
c40d072ab1
|
@ -148,7 +148,7 @@ namespace libtorrent
|
||||||
, use_parole_mode(true)
|
, use_parole_mode(true)
|
||||||
, cache_size(1024)
|
, cache_size(1024)
|
||||||
, cache_buffer_chunk_size(16)
|
, cache_buffer_chunk_size(16)
|
||||||
, cache_expiry(120)
|
, cache_expiry(300)
|
||||||
, use_read_cache(true)
|
, use_read_cache(true)
|
||||||
, explicit_read_cache(0)
|
, explicit_read_cache(0)
|
||||||
, explicit_cache_interval(30)
|
, explicit_cache_interval(30)
|
||||||
|
@ -541,7 +541,7 @@ namespace libtorrent
|
||||||
|
|
||||||
// the number of seconds a write cache entry sits
|
// the number of seconds a write cache entry sits
|
||||||
// idle in the cache before it's forcefully flushed
|
// idle in the cache before it's forcefully flushed
|
||||||
// to disk. Default is 60 seconds.
|
// to disk. Default is 5 minutes.
|
||||||
int cache_expiry;
|
int cache_expiry;
|
||||||
|
|
||||||
// when true, the disk I/O thread uses the disk
|
// when true, the disk I/O thread uses the disk
|
||||||
|
|
Loading…
Reference in New Issue