diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2020-07-28 21:12:36 +0000 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2020-07-28 21:12:36 +0000 |
commit | df707d05d1671677efe5935356959722c4cc3a02 (patch) | |
tree | a4d915e3030703fbf7754a4a94119128f035f72a /src/libstore/s3-binary-cache-store.cc | |
parent | 7cf978440c62b6677b068f10ee7ef22a09e7b1b8 (diff) | |
parent | 2980b244b7e5f1660c4a07d7589f4a2dd47f9acd (diff) |
Merge branch 'ca-drv' of github.com:Ericson2314/nix into misc-ca
Diffstat (limited to 'src/libstore/s3-binary-cache-store.cc')
-rw-r--r-- | src/libstore/s3-binary-cache-store.cc | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/libstore/s3-binary-cache-store.cc b/src/libstore/s3-binary-cache-store.cc index 1b7dff085..67935f3ba 100644 --- a/src/libstore/s3-binary-cache-store.cc +++ b/src/libstore/s3-binary-cache-store.cc @@ -343,13 +343,10 @@ struct S3BinaryCacheStoreImpl : public S3BinaryCacheStore std::chrono::duration_cast<std::chrono::milliseconds>(now2 - now1) .count(); - auto size = istream->tellg(); - - printInfo("uploaded 's3://%s/%s' (%d bytes) in %d ms", - bucketName, path, size, duration); + printInfo("uploaded 's3://%s/%s' in %d ms", + bucketName, path, duration); stats.putTimeMs += duration; - stats.putBytes += size; stats.put++; } |