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 geocoding rate limiting #10

Open
alulsh opened this issue Feb 4, 2021 · 0 comments
Open

Add geocoding rate limiting #10

alulsh opened this issue Feb 4, 2021 · 0 comments

Comments

@alulsh
Copy link
Owner

alulsh commented Feb 4, 2021

The Mapbox Geocoding API has a rate limit of 600 requests per minute. Currently, if you load a large enough family tree you may hit the rate limit and receive an error in the browser console. We should make this error message more user friendly via a modal.

We should also implement a client-side library like https://github.com/jhurliman/node-rate-limiter to help throttle API requests and prevent rate limit errors from happening in the first place.

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