Merge pull request #6408 from leseb/fix-bz-1885971

ceph: reduce s3 max retry
This commit is contained in:
Sébastien Han authored and GitHub committed 2020-10-08 17:30:27 +02:00
commit eba561f13e
1 file changed
+1 -1
+1 -1
View File
@@ -48,7 +48,7 @@ func NewS3Agent(accessKey, secretKey, endpoint string, debug bool) (*S3Agent, er
WithCredentials(credentials.NewStaticCredentials(accessKey, secretKey, "")).
WithEndpoint(endpoint).
WithS3ForcePathStyle(true).
WithMaxRetries(20).
WithMaxRetries(5).
WithDisableSSL(true).
WithHTTPClient(&http.Client{
Timeout: time.Second * 15,