diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2020-05-04 15:18:51 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2020-05-04 17:56:48 +0200 |
commit | b6bffd7e65eaf4ed2ed51570bcff407638ed91fb (patch) | |
tree | 6bb9f23b6d1fa8b77b69a8a86179fcd71ce025fd /wsd/AdminModel.hpp | |
parent | admin: Chrome refuses to override jwt cookies over http. (diff) | |
download | online-b6bffd7e65eaf4ed2ed51570bcff407638ed91fb.tar.gz online-b6bffd7e65eaf4ed2ed51570bcff407638ed91fb.zip |
admin: cleanup sent/recv accounting - and initialize the totals.
Change-Id: I96265c5d0e7b18d9ae19efa0ce7477aead75dbf7
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93422
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Gabriel Masei <gabriel.masei@1and1.ro>
Diffstat (limited to 'wsd/AdminModel.hpp')
-rw-r--r-- | wsd/AdminModel.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/wsd/AdminModel.hpp b/wsd/AdminModel.hpp index 8faceb5f3a..ae88ef8cd5 100644 --- a/wsd/AdminModel.hpp +++ b/wsd/AdminModel.hpp @@ -375,12 +375,12 @@ private: std::list<unsigned> _recvStats; unsigned _recvStatsSize = 200; - uint64_t _sentBytesTotal; - uint64_t _recvBytesTotal; + uint64_t _sentBytesTotal = 0; + uint64_t _recvBytesTotal = 0; - uint64_t _segFaultCount; + uint64_t _segFaultCount = 0; - pid_t _forKitPid; + pid_t _forKitPid = 0; /// We check the owner even in the release builds, needs to be always correct. std::thread::id _owner; |