Skip to content

Commit a6cc47a

Browse files
Merge pull request #52382 from nextcloud/backport/52361/stable31
[stable31] fix(objectstorage): add retry attempts to S3 connection
2 parents 9de8c1f + d393e98 commit a6cc47a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/private/Files/ObjectStore/S3ConnectionTrait.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,10 @@ public function getConnection() {
106106
'connect_timeout' => 5
107107
],
108108
'use_aws_shared_config_files' => false,
109+
'retries' => [
110+
'mode' => 'standard',
111+
'max_attempts' => 5,
112+
],
109113
];
110114

111115
if ($this->params['s3-accelerate']) {

0 commit comments

Comments
 (0)