aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver/projectstore/jupiterremoteprojectstore.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2024-10-16 09:43:39 +0200
committerGitHub Enterprise <[email protected]>2024-10-16 09:43:39 +0200
commitc81fec9186bb8c0175cf2870e8e3d08860759f82 (patch)
tree376702b359213a8452bf0935ae521b9a8d107cee /src/zenserver/projectstore/jupiterremoteprojectstore.cpp
parentMirror command: fix utf8 paths mapping to native code page (#197) (diff)
downloadzen-c81fec9186bb8c0175cf2870e8e3d08860759f82.tar.xz
zen-c81fec9186bb8c0175cf2870e8e3d08860759f82.zip
make sure to initialize stats in file, jupiter and zen remote stores (#198)
* make sure to initialize stats in file, jupiter and zen remote stores
Diffstat (limited to 'src/zenserver/projectstore/jupiterremoteprojectstore.cpp')
-rw-r--r--src/zenserver/projectstore/jupiterremoteprojectstore.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/zenserver/projectstore/jupiterremoteprojectstore.cpp b/src/zenserver/projectstore/jupiterremoteprojectstore.cpp
index bede3abb4..d926499c4 100644
--- a/src/zenserver/projectstore/jupiterremoteprojectstore.cpp
+++ b/src/zenserver/projectstore/jupiterremoteprojectstore.cpp
@@ -298,13 +298,13 @@ private:
bool m_EnableBlocks = true;
bool m_UseTempBlocks = true;
- std::atomic_uint64_t m_SentBytes;
- std::atomic_uint64_t m_ReceivedBytes;
- std::atomic_uint64_t m_RequestTimeNS;
- std::atomic_uint64_t m_RequestCount;
- std::atomic_uint64_t m_PeakSentBytes;
- std::atomic_uint64_t m_PeakReceivedBytes;
- std::atomic_uint64_t m_PeakBytesPerSec;
+ std::atomic_uint64_t m_SentBytes = {};
+ std::atomic_uint64_t m_ReceivedBytes = {};
+ std::atomic_uint64_t m_RequestTimeNS = {};
+ std::atomic_uint64_t m_RequestCount = {};
+ std::atomic_uint64_t m_PeakSentBytes = {};
+ std::atomic_uint64_t m_PeakReceivedBytes = {};
+ std::atomic_uint64_t m_PeakBytesPerSec = {};
};
std::shared_ptr<RemoteProjectStore>