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

Cannot set the SDK request timeout #987

Open
mtrezza opened this issue Nov 13, 2019 · 0 comments
Open

Cannot set the SDK request timeout #987

mtrezza opened this issue Nov 13, 2019 · 0 comments

Comments

@mtrezza
Copy link
Member

mtrezza commented Nov 13, 2019

Issue

Currently it is possible to set the network retry counts with .maxRetries(n) but it is not possible to set the timeout of the okhttp client. The SDK does not seem to set any timeout, so the okhttp default timeouts apply which is 10s. In some cases this may be too short.

Suggested solution

Expose a method to manually set the timeout upon SDK initialization.

Related issues

@mtrezza mtrezza changed the title cannot manually set the network timeout Cannot manually set the network timeout Nov 13, 2019
@mtrezza mtrezza changed the title Cannot manually set the network timeout Cannot set the SDK request timeout Nov 13, 2019
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

No branches or pull requests

1 participant