From 591e75cd01f1650aab5538432a8637683ad1a9d0 Mon Sep 17 00:00:00 2001 From: AmineChikhaoui Date: Mon, 7 May 2018 14:27:53 +0100 Subject: add a FIXME note to find a way to abort the multipart uploads in case the nix command is interrupted. --- src/libstore/s3-binary-cache-store.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/libstore/s3-binary-cache-store.cc b/src/libstore/s3-binary-cache-store.cc index b55ff5c6d5d5..37da44da873c 100644 --- a/src/libstore/s3-binary-cache-store.cc +++ b/src/libstore/s3-binary-cache-store.cc @@ -296,8 +296,8 @@ struct S3BinaryCacheStoreImpl : public S3BinaryCacheStore transferConfig.uploadProgressCallback = [&](const TransferManager *transferManager, const std::shared_ptr - &transferHandle) - { + &transferHandle) { + //FIXME: find a way to properly abort the multipart upload. checkInterrupt(); printTalkative("upload progress ('%s'): '%d' of '%d' bytes", path, -- cgit 1.4.1