add a FIXME note to find a way to abort the multipart uploads in

case the nix command is interrupted.
This commit is contained in:
AmineChikhaoui 2018-05-07 14:27:53 +01:00
parent 129394fb95
commit 591e75cd01
No known key found for this signature in database
GPG key ID: C0C8C84C15BCCD1C

View file

@ -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,