Merge pull request #43086 from nextcloud/s3-internal-multipart-copy-disable

disable the internal s3sdk multi part copy logic
pull/44012/head
Robin Appelman 2024-03-07 10:13:00 +07:00 committed by GitHub
commit efcb16f859
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

@ -212,7 +212,8 @@ trait S3ObjectTrait {
$copy->copy();
} else {
$this->getConnection()->copy($this->getBucket(), $from, $this->getBucket(), $to, 'private', array_merge([
'params' => $this->getSSECParameters() + $this->getSSECParameters(true)
'params' => $this->getSSECParameters() + $this->getSSECParameters(true),
'mup_threshold' => PHP_INT_MAX,
], $options));
}
}