Skip to content

Add a default connect_timeout of 15 seconds for all craftnet Api requests#15571

Merged
brandonkelly merged 3 commits into4.xfrom
bugfix/guzzle-timeout
Aug 21, 2024
Merged

Add a default connect_timeout of 15 seconds for all craftnet Api requests#15571
brandonkelly merged 3 commits into4.xfrom
bugfix/guzzle-timeout

Conversation

@angrybrad
Copy link
Copy Markdown
Member

Guzzle connect_timeout defaults to 0, which means to wait indefinitely.

This can be a problem if a client has connection issues connecting to our API endpoint, or our endpoint is down.

@brandonkelly brandonkelly merged commit 5d2fd35 into 4.x Aug 21, 2024
@brandonkelly brandonkelly deleted the bugfix/guzzle-timeout branch August 21, 2024 19:10
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