Open lampholder opened 7 years ago
@dbkr - can you confirm my understanding of the problem + solution is correct?
Additionally, solving this problem client-side could be implemented quite differently across different clients (exponential vs fixed window, retry counts, client-side rate limiting, etc). How much do we care about Riot Web and iOS/Android solving this in the same way?
If I understand it correctly:
The chosen solution is to implement retries. In Riot Web, if we receive a 'M_LIMIT_EXCEEDED' response, we queue the request up to try again in 5 seconds.
Linking for reference: