Replies: 1 comment 2 replies
-
Which service are you using? Most explicitly set a retry-after value, which auperceeds the exponential back-off algorithm. Orherwise, the next one is supposed to wait zero seconds half the time. The rationale for exponential backoff can be found here. But if your backend isn’t using an explicit retry-after, let me know and I can possibly reach out to them. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Ethers Version
5.6.4
Search Terms
No response
Describe the Problem
Big percentage of retries are fired right away due to
This means half of first tries is going to be 0, which does not help the 429 problem, but further worsens it. For increasing tries, there's still a high chance of hitting 0. Since API users explicitly provided
throttleSlotInterval
, it is incorrect that anything lower than that (0) is ever tried. Having the multiplier lower capped to 1 would avoid hitting 0 retry interval, which does not help anything, and make this more useful:Beta Was this translation helpful? Give feedback.
All reactions