mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-20 13:23:34 -07:00
Add piece_extent_affinity to AdvancedSettings
Expose option in WebUI settings and WebAPI. Requires WebAPI version bump. Closes #11436.
This commit is contained in:
parent
e906478a16
commit
ed96a07a75
6 changed files with 49 additions and 1 deletions
|
@ -337,6 +337,8 @@ namespace BitTorrent
|
|||
void setUseOSCache(bool use);
|
||||
bool isCoalesceReadWriteEnabled() const;
|
||||
void setCoalesceReadWriteEnabled(bool enabled);
|
||||
bool usePieceExtentAffinity() const;
|
||||
void setPieceExtentAffinity(bool enabled);
|
||||
bool isSuggestModeEnabled() const;
|
||||
void setSuggestMode(bool mode);
|
||||
int sendBufferWatermark() const;
|
||||
|
@ -610,6 +612,7 @@ namespace BitTorrent
|
|||
CachedSettingValue<int> m_diskCacheTTL;
|
||||
CachedSettingValue<bool> m_useOSCache;
|
||||
CachedSettingValue<bool> m_coalesceReadWriteEnabled;
|
||||
CachedSettingValue<bool> m_usePieceExtentAffinity;
|
||||
CachedSettingValue<bool> m_isSuggestMode;
|
||||
CachedSettingValue<int> m_sendBufferWatermark;
|
||||
CachedSettingValue<int> m_sendBufferLowWatermark;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue