aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnna Larch <anna@nextcloud.com>2025-04-22 17:35:33 +0200
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2025-04-23 18:40:07 +0000
commitcae5c4f02b0d9366f4b8770feb8621fd7cc497c3 (patch)
treedf72fe51dfac06c731ba03f2994ab7fa27b9a18c
parent6b0fe83ba8e1db0094b9ea0e95f4bed6f917a5cf (diff)
downloadnextcloud-server-backport/52361/stable30.tar.gz
nextcloud-server-backport/52361/stable30.zip
fix(objectstorage): add retry attempts to S3 connectionbackport/52361/stable30
Signed-off-by: Anna Larch <anna@nextcloud.com>
-rw-r--r--lib/private/Files/ObjectStore/S3ConnectionTrait.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/private/Files/ObjectStore/S3ConnectionTrait.php b/lib/private/Files/ObjectStore/S3ConnectionTrait.php
index be269cbc94c..5002cd8cd21 100644
--- a/lib/private/Files/ObjectStore/S3ConnectionTrait.php
+++ b/lib/private/Files/ObjectStore/S3ConnectionTrait.php
@@ -106,6 +106,10 @@ trait S3ConnectionTrait {
'connect_timeout' => 5
],
'use_aws_shared_config_files' => false,
+ 'retries' => [
+ 'mode' => 'standard',
+ 'max_attempts' => 5,
+ ],
];
if ($this->params['s3-accelerate']) {