Add option for hashing_threads, use 10 asyc IO threads

Add option for setting lt::settings_pack::hashing_threads
introduced by libtorrent 2.0. It has no effect for earlier
libtorrent versions.
Use 10 async IO threads, as per #11461.
Closes #11461.
This commit is contained in:
Anton Bershanskiy 2020-10-10 08:07:04 +03:00
parent 726704a7ed
commit b4bfdd6f7a
6 changed files with 56 additions and 1 deletions

View file

@ -77,6 +77,8 @@ private:
#if (LIBTORRENT_VERSION_NUM < 20000)
QSpinBox m_spinBoxCache, m_spinBoxCacheTTL;
QCheckBox m_checkBoxCoalesceRW;
#else
QSpinBox m_spinBoxHashingThreads;
#endif
// OS dependent settings