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:
		
							parent
							
								
									129394fb95
								
							
						
					
					
						commit
						591e75cd01
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -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,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue