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

implement rate-limiter #117

Merged
merged 1 commit into from
Jul 15, 2023
Merged

implement rate-limiter #117

merged 1 commit into from
Jul 15, 2023

Conversation

wimglenn
Copy link
Owner

start with a small delay and gradually increase it. log warnings if you're being rate-limited. closes #59

…se it. log warnings if you're being rate-limited. closes #59
@codecov
Copy link

codecov bot commented Jul 15, 2023

Codecov Report

Merging #117 (5182d80) into main (488d6e5) will increase coverage by 0.00%.
The diff coverage is 95.12%.

@@           Coverage Diff           @@
##             main     #117   +/-   ##
=======================================
  Coverage   91.80%   91.81%           
=======================================
  Files          24       24           
  Lines        2515     2542   +27     
  Branches      337      338    +1     
=======================================
+ Hits         2309     2334   +25     
- Misses        151      152    +1     
- Partials       55       56    +1     
Impacted Files Coverage Δ
aocd/utils.py 90.19% <93.75%> (+0.67%) ⬆️
aocd/models.py 93.48% <100.00%> (-0.05%) ⬇️
tests/conftest.py 100.00% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@wimglenn wimglenn merged commit 41fe54a into main Jul 15, 2023
@wimglenn wimglenn deleted the throttle branch July 15, 2023 03:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Throttle all requests, regardless of type
1 participant