From 695a17e8804763fecd0b962c3e47dedfe5bc27bd Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Sun, 11 Jun 2023 17:00:26 +0200 Subject: [PATCH] Increase timeout of file concatenation command Double the timeout of the command in order to allow concatenation of more and larger files. --- src/Cutting.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Cutting.php b/src/Cutting.php index dacdb4f..6c0704a 100644 --- a/src/Cutting.php +++ b/src/Cutting.php @@ -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