diff options
author | AmineChikhaoui <amine.chikhaoui91@gmail.com> | 2018-05-07 14:27:53 +0100 |
---|---|---|
committer | AmineChikhaoui <amine.chikhaoui91@gmail.com> | 2018-05-07 14:27:53 +0100 |
commit | 591e75cd01f1650aab5538432a8637683ad1a9d0 (patch) | |
tree | a8b976a05855456459d08a6f4943de6cb76524c6 /src/libstore | |
parent | 129394fb953475888173de5d8f864de3a2569e0e (diff) |
add a FIXME note to find a way to abort the multipart uploads in
case the nix command is interrupted.
Diffstat (limited to 'src/libstore')
-rw-r--r-- | src/libstore/s3-binary-cache-store.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/s3-binary-cache-store.cc b/src/libstore/s3-binary-cache-store.cc index b55ff5c6d..37da44da8 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<const TransferHandle> - &transferHandle) - { + &transferHandle) { + //FIXME: find a way to properly abort the multipart upload. checkInterrupt(); printTalkative("upload progress ('%s'): '%d' of '%d' bytes", path, |