Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aynsix committed Nov 21, 2024
1 parent fc981fd commit 42adf0c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ private function putPart(string $url, mixed $handleFile, int $partSize, int $ret
$retryCount--;
try {
return $this->uploadClient->request('PUT', $url, [
'body' => fread($handleFile, 10 * 1024 * 1024), // 10Mo
'body' => fread($handleFile, $partSize),
])->getHeaders();
} catch (\Throwable $e) {
if ($retryCount == 0) {
Expand Down

0 comments on commit 42adf0c

Please sign in to comment.