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

Increase default process timeout #31

Closed
clue opened this issue Mar 12, 2014 · 0 comments
Closed

Increase default process timeout #31

clue opened this issue Mar 12, 2014 · 0 comments

Comments

@clue
Copy link
Owner

clue commented Mar 12, 2014

Currently, we're not explicitly specifying a timeout to symfony's process manager when launching composer to install dependencies. As such, it assumes a default timeout of 60s.

Depending on the internet connection, using composer to install e.g. phpunit/phpunit takes too long and hence the process will be interrupted.

We should remove the timeout altogether.

Steps to reproduce:

$ phar-composer install phpunit/phpunit:3.7.*
[1/2] Installing phpunit/phpunit:3.7.* to temporary directory /tmp/phar-composer7 (using /usr/local/bin/composer create-project 'phpunit/phpunit:3.7.*' '/tmp/phar-composer7' --no-dev --no-progress --no-scripts)

    Installing phpunit/phpunit (3.7.32)
      - Installing phpunit/phpunit (3.7.32)
    Failed to download phpunit/phpunit from dist: You must enable the openssl extension to download files via https
    Now trying to download from source
      - Installing phpunit/phpunit (3.7.32)
        Cloning 2752cbb9ea5bd84c2811b34b6953f76965ec7a2f


  [Symfony\Component\Process\Exception\RuntimeException]  
  The process timed-out.                                  



install [name] [path]
@clue clue added bug labels Mar 12, 2014
@clue clue closed this as completed in 05d12cd Jul 10, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant