aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/s3-binary-cache-store.hh
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2020-08-06 18:58:59 -0500
committerMatthew Bauer <mjbauer95@gmail.com>2020-08-06 18:58:59 -0500
commit8abc577cc2a4f7252180265355128d29bcdb4d44 (patch)
tree53437fadd1315ac56bb329fc103d1fd5c141dc2e /src/libstore/s3-binary-cache-store.hh
parent641c95070162595c71a1f775a2364cd8533e1c4b (diff)
parent61464478427c4106ce20c1e61bfd5f53f3f49f37 (diff)
Merge remote-tracking branch 'origin/master' into readd-hashed-mirrors
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};