forked from premiere/premiere-libtorrent
use 'avoid_readback' as default disk cache eviction algorithm
This commit is contained in:
parent
6a9865b7c9
commit
abec8aed8c
|
@ -937,7 +937,7 @@ int main(int argc, char* argv[])
|
|||
settings.choking_algorithm = session_settings::auto_expand_choker;
|
||||
//settings.announce_to_all_trackers = true;
|
||||
settings.optimize_hashing_for_speed = false;
|
||||
settings.disk_cache_algorithm = session_settings::largest_contiguous;
|
||||
settings.disk_cache_algorithm = session_settings::avoid_readback;
|
||||
settings.volatile_read_cache = false;
|
||||
|
||||
proxy_settings ps;
|
||||
|
|
|
@ -200,7 +200,7 @@ namespace libtorrent
|
|||
, send_socket_buffer_size(0)
|
||||
, optimize_hashing_for_speed(true)
|
||||
, file_checks_delay_per_block(0)
|
||||
, disk_cache_algorithm(largest_contiguous)
|
||||
, disk_cache_algorithm(avoid_readback)
|
||||
, read_cache_line_size(128)
|
||||
, write_cache_line_size(32)
|
||||
, optimistic_disk_retry(10 * 60)
|
||||
|
|
Loading…
Reference in New Issue