Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Composer\Config::disableProcessTimeout() when running serve #132

Merged
merged 2 commits into from Aug 16, 2023

Conversation

crynobone
Copy link
Member

@crynobone crynobone commented Aug 16, 2023

Avoid following issues:

The following exception is caused by a process timeout
Check https://getcomposer.org/doc/06-config.md#process-timeout for details

In Process.php line 1204:
                                                                                                                                               
  The process "'/opt/homebrew/Cellar/php@8.1/8.1.17/bin/php' -d allow_url_fopen='1' -d disable_functions='' -d memory_limit='1536M' vendor/bi  
  n/testbench serve" exceeded the timeout of 300 seconds.                                                                                      

command

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
@coveralls
Copy link

coveralls commented Aug 16, 2023

Coverage Status

coverage: 85.414%. remained the same when pulling 81d13e0 on patch-1 into f550ac3 on 8.x.

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
@crynobone crynobone merged commit 268a8eb into 8.x Aug 16, 2023
124 checks passed
@crynobone crynobone deleted the patch-1 branch August 16, 2023 12:40
crynobone added a commit that referenced this pull request Aug 16, 2023
…132)

* Add `Composer\Config::disableProcessTimeout()` when running `serve`
command

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>

* wip

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>

---------

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants