Increase timeout of file concatenation command

Double the timeout of the command in order to allow concatenation of
more and larger files.
This commit is contained in:
Daniel Siepmann 2023-06-11 17:00:26 +02:00
parent 52e1b75a06
commit 695a17e880
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4

View file

@ -96,7 +96,10 @@ class Cutting
}
$command = 'printf ' . escapeshellarg(implode('\n', $lines)) . ' > ' . $this->getConcatFilename();
return Process::fromShellCommandline($command);
$process = Process::fromShellCommandline($command);
$process->setTimeout(2 * 60);
return $process;
}
public function getCommandForGeneratingVideo(): Process