Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 21 of 21 for abortMultipartUpload (0.77 sec)

  1. cmd/bucket-replication.go

    	defer func() {
    		if err != nil {
    			// block and abort remote upload upon failure.
    			attempts := 1
    			for attempts <= 3 {
    				actx, acancel := context.WithTimeout(ctx, time.Minute)
    				aerr := c.AbortMultipartUpload(actx, bucket, object, uploadID)
    				acancel()
    				if aerr == nil {
    					return
    				}
    				attempts++
    				time.Sleep(time.Duration(rand.Int63n(int64(time.Second))))
    			}
    		}
    	}()
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 114.4K bytes
    - Viewed (0)
Back to top