mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 06:01:33 -06:00
Enable customizing the save statistics time interval
This change extends the Advanced section of the Preferences menu with a new field, allowing changing the time statistics save interval. A zero value will prevent recurrent saving. This aims to provide the feature requested in issue #21285. PR #21291.
This commit is contained in:
@@ -257,6 +257,8 @@ namespace BitTorrent
|
||||
virtual void setPerformanceWarningEnabled(bool enable) = 0;
|
||||
virtual int saveResumeDataInterval() const = 0;
|
||||
virtual void setSaveResumeDataInterval(int value) = 0;
|
||||
virtual std::chrono::minutes saveStatisticsInterval() const = 0;
|
||||
virtual void setSaveStatisticsInterval(std::chrono::minutes value) = 0;
|
||||
virtual int shutdownTimeout() const = 0;
|
||||
virtual void setShutdownTimeout(int value) = 0;
|
||||
virtual int port() const = 0;
|
||||
|
||||
Reference in New Issue
Block a user