Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retry on rate-limiting and 5xx errors #16

Merged
merged 4 commits into from
Oct 22, 2023
Merged

Retry on rate-limiting and 5xx errors #16

merged 4 commits into from
Oct 22, 2023

Conversation

jwodder
Copy link
Owner

@jwodder jwodder commented Oct 22, 2023

Also, follow GitHub's advice of waiting between mutating requests.

Closes #12.

@jwodder jwodder added enhancement New feature or request therefor UX Relating to the user experience labels Oct 22, 2023
@codecov
Copy link

codecov bot commented Oct 22, 2023

Codecov Report

Merging #16 (baa2304) into master (d2cd733) will decrease coverage by 5.24%.
The diff coverage is 9.33%.

@@            Coverage Diff             @@
##           master      #16      +/-   ##
==========================================
- Coverage   84.86%   79.63%   -5.24%     
==========================================
  Files           5        5              
  Lines        2359     2514     +155     
==========================================
  Hits         2002     2002              
- Misses        357      512     +155     
Files Coverage Δ
src/main.rs 0.00% <ø> (ø)
src/client.rs 10.63% <0.00%> (-8.14%) ⬇️
src/client/util.rs 11.11% <11.11%> (ø)

@jwodder jwodder merged commit 102b06e into master Oct 22, 2023
16 of 20 checks passed
@jwodder jwodder deleted the rate-limit branch October 22, 2023 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request therefor UX Relating to the user experience
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Retry requests that fail with transient HTTP errors
1 participant