mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
Chunk size comment should say kB, not MB
This commit is contained in:
parent
d8655a4248
commit
71bdccf347
1 changed files with 1 additions and 1 deletions
|
|
@ -199,7 +199,7 @@ class View {
|
|||
@ob_end_clean();
|
||||
$handle = $this->fopen($path, 'rb');
|
||||
if ($handle) {
|
||||
$chunkSize = 8192; // 8 MB chunks
|
||||
$chunkSize = 8192; // 8 kB chunks
|
||||
while (!feof($handle)) {
|
||||
echo fread($handle, $chunkSize);
|
||||
flush();
|
||||
|
|
|
|||
Loading…
Reference in a new issue