fix(objectstorage): add retry attempts to S3 connection

Signed-off-by: Anna Larch <anna@nextcloud.com>
pull/52361/head
Anna Larch 1 year ago committed by Anna
parent 14868ac0ee
commit 49baa914cf
  1. 4
      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']) {

Loading…
Cancel
Save