Skip to content

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 13 Nov 12:05
· 1 commit to main since this release
ead9ce4
  • Changes WithMaxRetryAfter to bound the total time spent waiting out rate limits on one call, not each single wait.
  • Resends a 429 repeatedly while its waits stay within the bound, counting each wait as at least one second.
  • Fixes overflow in the retry backoff and in very large Retry-After values, which could wrap into short waits.
  • Keeps the three retries for server and connection errors, and returns a 429 at once when WithMaxRetryAfter is zero or less.