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

Retry on timeout #23

Open
otmezger opened this issue Jan 13, 2021 · 1 comment
Open

Retry on timeout #23

otmezger opened this issue Jan 13, 2021 · 1 comment

Comments

@otmezger
Copy link

Hi, is there a native way to implement retry for specific errors? like timeouts?

thanks.

@xOKBAx
Copy link

xOKBAx commented Jan 17, 2022

You can pass timeout argument to GraphqlClient:
self.client = GraphqlClient(endpoint=self.__SCHEMA, timeout=self.__MAX_REQUEST_TIMEOUT)

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

2 participants