Skip to content

Commit

Permalink
Merge branch 'soren121-composer-2.3-fix' into 1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
francoispluchino committed Apr 17, 2022
2 parents dc2759e + 9688a93 commit a5f6ddc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Asset/AbstractAssetManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ public function run()
$this->io->write($info);

$timeout = ProcessExecutor::getTimeout();
ProcessExecutor::setTimeout($this->config->get('manager-timeout'));
ProcessExecutor::setTimeout($this->config->get('manager-timeout', PHP_INT_MAX));
$cmd = $updatable ? $this->getUpdateCommand() : $this->getInstallCommand();
$res = (int) $this->executor->execute($cmd);
ProcessExecutor::setTimeout($timeout);
Expand Down
2 changes: 1 addition & 1 deletion Resources/doc/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ option `config.foxy.manager-update-options` [`string`, default: `null`].
### Define the execution timeout of the asset manager

You can define the execution timeout of the asset manager with the
option `config.foxy.manager-timeout` [`int`, default: `null`].
option `config.foxy.manager-timeout` [`int`, default: `PHP_INT_MAX`].

**Example:**
```json
Expand Down

0 comments on commit a5f6ddc

Please sign in to comment.