diff options
author | Anna Larch <anna@nextcloud.com> | 2025-04-22 17:35:33 +0200 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2025-04-23 18:40:07 +0000 |
commit | cae5c4f02b0d9366f4b8770feb8621fd7cc497c3 (patch) | |
tree | df72fe51dfac06c731ba03f2994ab7fa27b9a18c | |
parent | 6b0fe83ba8e1db0094b9ea0e95f4bed6f917a5cf (diff) | |
download | nextcloud-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.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']) { |