fixed bug preventing clients to change the disk cache expiration time
This commit is contained in:
@@ -39,6 +39,8 @@ release 0.14.2
|
||||
correction (filenames already were)
|
||||
* fixed dead-lock when settings DHT proxy
|
||||
* added missing export directives to lazy_entry
|
||||
* fixed disk cache expiry settings bug (if changed, it would be set
|
||||
to the cache size)
|
||||
|
||||
release 0.14.1
|
||||
|
||||
|
@@ -585,7 +585,7 @@ namespace aux {
|
||||
if (m_settings.cache_size != s.cache_size)
|
||||
m_disk_thread.set_cache_size(s.cache_size);
|
||||
if (m_settings.cache_expiry != s.cache_expiry)
|
||||
m_disk_thread.set_cache_size(s.cache_expiry);
|
||||
m_disk_thread.set_cache_expiry(s.cache_expiry);
|
||||
// if queuing settings were changed, recalculate
|
||||
// queued torrents sooner
|
||||
if ((m_settings.active_downloads != s.active_downloads
|
||||
|
Reference in New Issue
Block a user