mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-02-08 20:49:10 -06:00
(Fix) Timeout issue with long running processes
This commit is contained in:
@@ -114,6 +114,8 @@ class gitUpdate extends Command
|
||||
{
|
||||
$this->comment('Compiling JS and Style assets ...');
|
||||
$process = new Process('npm run dev');
|
||||
$process->setTimeout(150);
|
||||
|
||||
$process->start();
|
||||
|
||||
$process->wait();
|
||||
@@ -165,6 +167,8 @@ class gitUpdate extends Command
|
||||
|
||||
foreach ($commands as $command) {
|
||||
$process = new Process($command);
|
||||
$process->setTimeout(150);
|
||||
|
||||
$process->start();
|
||||
|
||||
$process->wait();
|
||||
|
||||
Reference in New Issue
Block a user