diff options
author | Andy Scherzinger <info@andy-scherzinger.de> | 2025-04-23 22:55:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-23 22:55:18 +0200 |
commit | 344e282039a08049dfdc52bcd7ebe63aa62cb641 (patch) | |
tree | cd25090a649268e002a61678e37c0b8577a5034a | |
parent | 7322e16eb263c9059a0c5d72bd902ff2088b07dd (diff) | |
parent | cae5c4f02b0d9366f4b8770feb8621fd7cc497c3 (diff) | |
download | nextcloud-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.php | 4 |
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']) { |