diff --git a/Classes/Service/DatabaseService.php b/Classes/Service/DatabaseService.php index 4fb08c6..c8d168c 100644 --- a/Classes/Service/DatabaseService.php +++ b/Classes/Service/DatabaseService.php @@ -32,7 +32,9 @@ public function __construct() public function mysql(mixed $input = null): Process { $command = ['mysql', ...$this->buildConnectionArguments()]; - return new Process($command, null, null, $input); + $process = new Process($command, null, null, $input); + $process->setTimeout(null); + return $process; } /** @@ -41,7 +43,9 @@ public function mysql(mixed $input = null): Process public function mysqldump(array $args = []): Process { $command = ['mysqldump', ...$this->buildConnectionArguments(), ...$args]; - return new Process($command); + $process = new Process($command); + $process->setTimeout(null); + return $process; } public function getDbName(): string