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:23 +0000 |
commit | d393e98c9e34407094523dfc2da62365f660ece0 (patch) | |
tree | c77f4408dc35a1104a58868ae0c594dc5d6b96e8 | |
parent | 96fda99a0688608c9dca4b045557145de15487a4 (diff) | |
download | nextcloud-server-backport/52361/stable31.tar.gz nextcloud-server-backport/52361/stable31.zip |
fix(objectstorage): add retry attempts to S3 connectionbackport/52361/stable31
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 65fc61ffa77..b87ea92374a 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']) { |