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

Try different server in case of http error 429 #73

Open
turnbeutelvergesser opened this issue Sep 30, 2024 · 0 comments
Open

Try different server in case of http error 429 #73

turnbeutelvergesser opened this issue Sep 30, 2024 · 0 comments

Comments

@turnbeutelvergesser
Copy link

I had some 429 return codes when trying to search for a number (not so big, around 10) of stations by UUID. Instead of waiting for "Retry-After" seconds, could you just switch to a different server from the list and retry the request? Maybe randomize the list and advance one position it it when it happens (cyclically)? Then the chance of hitting the overloaded server would be minimized.

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