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

Disable process timeout for composer serve #81

Merged
merged 2 commits into from
Sep 20, 2022

Conversation

Xerkus
Copy link
Member

@Xerkus Xerkus commented Sep 20, 2022

Q A
Documentation no
Bugfix no
BC Break no
New Feature no
RFC no
QA no

Description

Composer default timeout is 300s which is not suitable for PHP builtin development server run by composer serve.

Composer provides convenience helper to disable timeout for specific scripts since 1.9.0
See https://getcomposer.org/doc/articles/scripts.md#writing-custom-commands

Composer default timeout is 300s which is not suitable for PHP builtin development
server run by composer serve.

Composer provides convenience helper to disable timeout for specific
scripts since 1.9.0
See https://getcomposer.org/doc/articles/scripts.md#writing-custom-commands

Signed-off-by: Aleksei Khudiakov <aleksey@xerkus.pro>
@Xerkus Xerkus added the Enhancement New feature or request label Sep 20, 2022
@samsonasik
Copy link
Member

samsonasik commented Sep 20, 2022

The readme for timeout setting in readme may need to be updated https://github.com/mezzio/mezzio-skeleton#setting-a-timeout

Signed-off-by: Aleksei Khudiakov <aleksey@xerkus.pro>
@Ocramius Ocramius added this to the 3.12.0 milestone Sep 20, 2022
@Ocramius Ocramius self-assigned this Sep 20, 2022
@Ocramius Ocramius merged commit 792f3f9 into mezzio:3.12.x Sep 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants