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

Set default client timeout #151

Merged
merged 2 commits into from
Jun 16, 2021
Merged

Set default client timeout #151

merged 2 commits into from
Jun 16, 2021

Conversation

shalvah
Copy link
Contributor

@shalvah shalvah commented Jun 14, 2021

This PR sets a default timeout of 15 seconds for Honeybadger API calls. Since this is PHP, these API calls will most likely be made within the lifetime of the web request. If Honeybagder for some reason is unreachable, without a timeout, this will go on until it hits PHP's max script execution time, crashing their app as a result.

Good read here.

Copy link
Member

@joshuap joshuap left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@shalvah shalvah merged commit ba16f7e into master Jun 16, 2021
@shalvah shalvah deleted the client-timeout branch June 16, 2021 10:27
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