Rate limit expiration


#1

Would be really nice to see when we can make the next request as part of the 429 Too Many Requests response.

I’ve been trying to write a small data collector that I can use to graph temperature changes in my house over time, but even when dutifully making only one request per minute, I get throttled a lot. It seems like the one request per minute is still too fast.

I added scaling falloff (every 429 Too Many Requests adds 1 minute to the timer, until the next successful request resets it to 90s), but currently I appear to have been throttled for at least 20 minutes (I’ve gone through the collector sleeping for 2, 3, 4, 5, and 6 minutes), but it would have been really nice to be able to just sleep until the next allowed request instead.