mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-10 23:07:52 +00:00
disable libtorrent read cache cause i've messed up something
This commit is contained in:
parent
39e8ed8fb7
commit
d14dca10e1
@ -206,6 +206,9 @@ void ThreadWaitExtIP()
|
||||
//settings.dht_announce_interval = 60; // test
|
||||
//settings.min_announce_interval = 60; // test
|
||||
settings.anonymous_mode = false; // (false => send peer_id, avoid connecting to itself)
|
||||
// disable read cache => there is still some bug due to twister piece size changes
|
||||
settings.use_read_cache = false;
|
||||
settings.cache_size = 0;
|
||||
ses->set_settings(settings);
|
||||
|
||||
printf("libtorrent + dht started\n");
|
||||
|
Loading…
Reference in New Issue
Block a user