aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Scherzinger <info@andy-scherzinger.de>2025-04-23 22:55:18 +0200
committerGitHub <noreply@github.com>2025-04-23 22:55:18 +0200
commit344e282039a08049dfdc52bcd7ebe63aa62cb641 (patch)
treecd25090a649268e002a61678e37c0b8577a5034a
parent7322e16eb263c9059a0c5d72bd902ff2088b07dd (diff)
parentcae5c4f02b0d9366f4b8770feb8621fd7cc497c3 (diff)
downloadnextcloud-server-344e282039a08049dfdc52bcd7ebe63aa62cb641.tar.gz
nextcloud-server-344e282039a08049dfdc52bcd7ebe63aa62cb641.zip
Merge pull request #52381 from nextcloud/backport/52361/stable30
[stable30] fix(objectstorage): add retry attempts to S3 connection
-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']) {