Merge pull request #6408 from leseb/fix-bz-1885971
ceph: reduce s3 max retry
This commit is contained in:
1 file changed
+1
-1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user