Closed ericljiang closed 10 months ago
Retries implemented in https://github.com/ericljiang/premier-playoff-helper/commit/705f5fedebdcee8fb4a2df6e3c7b6b41b51d7d2d. Need to implement client-side request throttling to prevent them.
After testing, client-side throttling doesn't seem to affect the total time to retrieve all matches so it's preferable to retrieve matches as fast as possible and rely on retries so that the user can see as much data as possible as fast as possible.
Prevent 429s by keeping track of request rate. Possibly retry when 429 received.