Throttling for "Rate Limit Exceeded" - 509 and 429's
Closed this issue · 2 comments
jtallieu commented
I built in sleep "delay" and "max_retries" into my original version of the API to address the 509 errors. I do not want to have to wrap every operation throughout my application to address the retries. I'd prefer it be built into the API so that it is transparent. It could also be configurable when instantiating the API class.
The 429's are nice in that it gives you a "retry-after" in the header.
What are your thoughts on this? Is there a good reason that this should not be part of the API?
Thank you.
gabelimon commented
Putting this on my todo list. I've also had the PM for our API look at your feature request for 429's.
bookernath commented
Fixed/improved in #75