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:
parent
52e1b75a06
commit
695a17e880
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue