Skip to content

Conversation

@rvm-peercode
Copy link

The default curl connect timeout is 300 seconds. Set it to something much lower to avoid timeouts elsewhere.

This fixes an issue where a user would enter a url for which the DNS existed, but which was not reachable. The application seemed to freeze, while the php-pfm processes were happily waiting for the curl timeout. After a few refreshes, the php-fpm worker process were exhausted and the application was no longer usable.

The default curl connect timeout is 300 seconds. Set it to something
much lower to avoid timeouts elsewhere.

This fixes an issue where a user would enter a url for which the DNS
existed, but which was not reachable. The application seemed to freeze,
while the php-pfm processes were happily waiting for the curl timeout.
After a few refreshes, the php-fpm worker process were exhausted and the
application was no longer usable.
@mddejong mddejong merged commit 6dde88d into GemsTracker:2.x Jun 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants