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 =
 | 
					        transferConfig.uploadProgressCallback =
 | 
				
			||||||
            [&](const TransferManager *transferManager,
 | 
					            [&](const TransferManager *transferManager,
 | 
				
			||||||
                const std::shared_ptr<const TransferHandle>
 | 
					                const std::shared_ptr<const TransferHandle>
 | 
				
			||||||
                    &transferHandle)
 | 
					                    &transferHandle) {
 | 
				
			||||||
            {
 | 
					              //FIXME: find a way to properly abort the multipart upload.
 | 
				
			||||||
              checkInterrupt();
 | 
					              checkInterrupt();
 | 
				
			||||||
              printTalkative("upload progress ('%s'): '%d' of '%d' bytes",
 | 
					              printTalkative("upload progress ('%s'): '%d' of '%d' bytes",
 | 
				
			||||||
                             path,
 | 
					                             path,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue