Disable output buffering so we can enjoy more than ~62MB of photos.

This commit is contained in:
Aaron van Geffen 2020-03-11 12:31:31 +01:00
parent 5a51778a6a
commit c7d3b9c3d1

View File

@ -75,6 +75,9 @@ class Download
// Close STDIN pipe to start archiving.
fclose($pipes[0]);
// At this point, end output buffering so we can enjoy more than ~62MB of photos.
ob_end_flush();
do
{
// Read STDOUT as `tar` is doing its work.