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

disable the internal s3sdk multi part copy logic
This commit is contained in:
Robin Appelman 2024-03-07 10:13:00 +01:00 committed by GitHub
commit efcb16f859
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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));
}
}