aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/s3-binary-cache-store.hh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-08-04 15:56:10 +0200
committerEelco Dolstra <edolstra@gmail.com>2020-08-04 15:56:10 +0200
commitdfe66420e7e5395acfa8068fafcadc3a38a56184 (patch)
tree0a083228c874c7c74d59f563ec4cc11d3ac2e051 /src/libstore/s3-binary-cache-store.hh
parent327b1bf378ebdfe7acc6357b651470b45cb44472 (diff)
Revert "Remove putBytes"
This reverts commit b8eea7e81af53905be7845dffc6d0a83ea8edc97.
Diffstat (limited to 'src/libstore/s3-binary-cache-store.hh')
-rw-r--r--src/libstore/s3-binary-cache-store.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstore/s3-binary-cache-store.hh b/src/libstore/s3-binary-cache-store.hh
index b2b75d498..4d43fe4d2 100644
--- a/src/libstore/s3-binary-cache-store.hh
+++ b/src/libstore/s3-binary-cache-store.hh
@@ -19,6 +19,7 @@ public:
struct Stats
{
std::atomic<uint64_t> put{0};
+ std::atomic<uint64_t> putBytes{0};
std::atomic<uint64_t> putTimeMs{0};
std::atomic<uint64_t> get{0};
std::atomic<uint64_t> getBytes{0};