Skip to content

Allow Customization of waitUntilReady Timeout via Environment Variable #1917

@ttsuru

Description

@ttsuru

Description:

In the PHP-FPM runtime, when a request times out, PHP-FPM restarts. However, in some cases, the restart itself times out, leading to a state where the runtime cannot be started anymore.

By default, PHP-FPM is expected to start within 5 seconds. However, when using Symfony with multiple extensions and opcache.preload, this 5-second limit may not be sufficient.

I found that increasing the waitUntilReady timeout to 8 seconds resolved the issue.

Would it be possible to allow the waitUntilReady timeout to be customized via an environment variable?
If a PR is needed, please let me know.

Thanks for the great project!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions