david_wallace
09/28/2021, 3:39 PM_request_with_backoff
method on the RESTClient
🧵david_wallace
09/28/2021, 3:42 PM429
etc.). I’ve noticed that a few of our taps that leverage this stream class are getting rate limited and immediately throwing a RuntimeError
instead of retrying at all. Upon further inspection of the method, it seems like the only path to the backoff getting triggered is via Timeout
, ConnectionError
, and TooManyRedirects
exceptions, since the method isn’t explicitly raising HTTPError
anywhere based on the status code of the response.david_wallace
09/28/2021, 3:42 PMdavid_wallace
09/28/2021, 3:46 PMgiveup
logic. It looks like it’s just giving up on anything client end. That makes more sensedavid_wallace
09/28/2021, 3:46 PMflorian.hines
10/01/2021, 3:11 PM