diff options
author | Anna Larch <anna@nextcloud.com> | 2025-04-22 17:35:33 +0200 |
---|---|---|
committer | Anna <anna@nextcloud.com> | 2025-04-23 12:15:06 +0200 |
commit | 49baa914cf7fa00e95978ee97fdae47cfe39e461 (patch) | |
tree | 5d6795ef1118cce0ec1d5f4bc6bd434aff9e6636 /lib/private/Files/ObjectStore | |
parent | 14868ac0eea9e7043b136c7b002c92072b0d0c37 (diff) | |
download | nextcloud-server-49baa914cf7fa00e95978ee97fdae47cfe39e461.tar.gz nextcloud-server-49baa914cf7fa00e95978ee97fdae47cfe39e461.zip |
fix(objectstorage): add retry attempts to S3 connectionfix/51833/add-retries-to-s3-client
Signed-off-by: Anna Larch <anna@nextcloud.com>
Diffstat (limited to 'lib/private/Files/ObjectStore')
-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 7ddf2abed1d..b7017583dc2 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']) { |