Skip to content

Commit bfaecc9

Browse files
icewind1991backportbot[bot]
authored andcommitted
fix: disable the internal s3sdk multi part copy logic
Signed-off-by: Robin Appelman <[email protected]>
1 parent d813657 commit bfaecc9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/private/Files/ObjectStore/S3ObjectTrait.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,8 @@ public function copyObject($from, $to, array $options = []) {
212212
$copy->copy();
213213
} else {
214214
$this->getConnection()->copy($this->getBucket(), $from, $this->getBucket(), $to, 'private', array_merge([
215-
'params' => $this->getSSECParameters() + $this->getSSECParameters(true)
215+
'params' => $this->getSSECParameters() + $this->getSSECParameters(true),
216+
'mup_threshold' => PHP_INT_MAX,
216217
], $options));
217218
}
218219
}

0 commit comments

Comments
 (0)