diff options
author | Ashod Nakashian <ashod.nakashian@collabora.co.uk> | 2017-06-11 22:51:38 -0400 |
---|---|---|
committer | Ashod Nakashian <ashnakash@gmail.com> | 2017-06-12 06:19:53 +0200 |
commit | 9e11cd7db711b86fadbc0a2d00920268779233d2 (patch) | |
tree | 41533b403bf9569faca64df4a9e8890e9a30ddbc /wsd/Admin.hpp | |
parent | wsd: new internal command to change config values (diff) | |
download | online-9e11cd7db711b86fadbc0a2d00920268779233d2.tar.gz online-9e11cd7db711b86fadbc0a2d00920268779233d2.zip |
Support setting rlimits from Admin Console
Change-Id: Ia0d45948998d7a5612a1828a90ad20908d07639e
Reviewed-on: https://gerrit.libreoffice.org/38677
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
Diffstat (limited to 'wsd/Admin.hpp')
-rw-r--r-- | wsd/Admin.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/wsd/Admin.hpp b/wsd/Admin.hpp index 91df810847..4faa3df224 100644 --- a/wsd/Admin.hpp +++ b/wsd/Admin.hpp @@ -104,6 +104,9 @@ public: void dumpState(std::ostream& os) override; + const DocProcSettings& getDefDocProcSettings() const { return _defDocProcSettings; } + void setDefDocProcSettings(const DocProcSettings& docProcSettings) { _defDocProcSettings = docProcSettings; } + private: /// The model is accessed only during startup & in /// the Admin Poll thread. @@ -114,6 +117,8 @@ private: std::atomic<int> _memStatsTaskIntervalMs; std::atomic<int> _cpuStatsTaskIntervalMs; + + DocProcSettings _defDocProcSettings; }; #endif |