-
-
Notifications
You must be signed in to change notification settings - Fork 373
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
Allow Customization of waitUntilReady Timeout via Environment Variable #1917
Comments
Wow 8 seconds is huge. But if that's necessary and it actually works, I think it's hard to argue against this suggestion. 👍 to add an environment variable to configure that. |
I understand that AWS Lambda has a 10-second cold start limit, so the startup time must remain within this constraint. I am using the I am unsure why PHP-FPM restart takes significantly longer than the initial startup.
|
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!
The text was updated successfully, but these errors were encountered: