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 automatic retry functionality if API returns a server error #5

Open
Aeilert opened this issue Mar 22, 2022 · 0 comments · May be fixed by #14
Open

Add automatic retry functionality if API returns a server error #5

Aeilert opened this issue Mar 22, 2022 · 0 comments · May be fixed by #14
Labels
enhancement New feature or request

Comments

@Aeilert
Copy link
Collaborator

Aeilert commented Mar 22, 2022

Main functions, like get_stats() and get_aux(), should automatically retry a request if the first request gave a 500 type error.

This could either be implement as a stand-alone feature or as part of #2.

@Aeilert Aeilert added the enhancement New feature or request label Mar 22, 2022
Aeilert pushed a commit that referenced this issue Mar 24, 2022
* Add new functions; retry_host() and retry_request()
* Remove check_api() and check_internet() from main exported functions
* Add new function; send_query to call the API

Closes #5
Closes #8
@Aeilert Aeilert linked a pull request Mar 24, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant