fix: disable the internal s3sdk multi part copy logic

Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
Robin Appelman 2024-01-24 16:55:24 +01:00
parent c651e06a6d
commit c54f7bd761
1 changed files with 2 additions and 1 deletions

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