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

Handle 429 from MBTA gracefully #200

Open
devinmatte opened this issue May 17, 2024 · 0 comments
Open

Handle 429 from MBTA gracefully #200

devinmatte opened this issue May 17, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@devinmatte
Copy link
Member

We're getting 429 from the MBTA, which is causing the service to crash occasionally

We can fix this a few different ways:

  1. Cache responses for 15 seconds to slightly reduce call frequency
  2. Get a seperate v3 API specifically for production NTT
  3. More gracefully catch 429 to at least not crash
@devinmatte devinmatte added the bug Something isn't working label May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant