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

Add configurable timeout for all http requests #173

Merged
merged 2 commits into from
Sep 23, 2019

Conversation

fractalwrench
Copy link
Contributor

Goal

Makes the request timeout configurable via the bugsnag plugin extension. This allows customers to alter the default from 60 seconds, to a smaller/larger value if required.

bugsnag {
    requestTimeoutMs = 5000 // timeout requests after 5000ms
}

Tests

Verified that the requestTimeoutMs can be altered in an example project.

@fractalwrench fractalwrench merged commit 9842086 into next Sep 23, 2019
@fractalwrench fractalwrench deleted the configurable-timeout branch September 23, 2019 13:42
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