mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 23:47:23 -06:00
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:
@@ -342,6 +342,8 @@ namespace BitTorrent
|
||||
void setPeerTurnoverInterval(int num);
|
||||
int asyncIOThreads() const;
|
||||
void setAsyncIOThreads(int num);
|
||||
int hashingThreads() const;
|
||||
void setHashingThreads(int num);
|
||||
int filePoolSize() const;
|
||||
void setFilePoolSize(int size);
|
||||
int checkingMemUsage() const;
|
||||
@@ -651,6 +653,7 @@ namespace BitTorrent
|
||||
CachedSettingValue<bool> m_announceToAllTrackers;
|
||||
CachedSettingValue<bool> m_announceToAllTiers;
|
||||
CachedSettingValue<int> m_asyncIOThreads;
|
||||
CachedSettingValue<int> m_hashingThreads;
|
||||
CachedSettingValue<int> m_filePoolSize;
|
||||
CachedSettingValue<int> m_checkingMemUsage;
|
||||
CachedSettingValue<int> m_diskCacheSize;
|
||||
|
||||
Reference in New Issue
Block a user