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

feat: Implement GCRA Rate Limiter #9

Merged
merged 3 commits into from
Mar 2, 2025
Merged

Conversation

ZhuoZhuoCrayon
Copy link
Owner

No description provided.

# Reviewed, transaction id: 32081
@ZhuoZhuoCrayon ZhuoZhuoCrayon added the enhancement New feature or request label Mar 1, 2025
@ZhuoZhuoCrayon ZhuoZhuoCrayon self-assigned this Mar 1, 2025
Copy link

github-actions bot commented Mar 1, 2025

Coverage

Coverage Report
FileStmtsMissCoverMissing
throttled
   throttled.py26196%47
   utils.py16475%48–49, 55–56
throttled/rate_limter
   base.py1011288%45, 55, 60, 101–102, 108–109, 141, 147, 151, 155, 176
throttled/store
   base.py581279%19, 32, 41, 81, 89, 97, 101, 110, 118, 128, 132, 140
   memory.py115397%24, 96, 111
   redis.py56198%70
   redis_pool.py983069%66, 71, 78, 89, 97, 114, 118–120, 124–126, 144, 167–181, 190–204
TOTAL8776393% 

Tests Skipped Failures Errors Time
268 0 💤 0 ❌ 0 🔥 2m 37s ⏱️

Copy link

codecov bot commented Mar 1, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.44%. Comparing base (e838824) to head (c0e833c).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main       #9      +/-   ##
==========================================
+ Coverage   90.02%   91.44%   +1.42%     
==========================================
  Files          17       18       +1     
  Lines         782      877      +95     
  Branches       41       43       +2     
==========================================
+ Hits          704      802      +98     
+ Misses         65       63       -2     
+ Partials       13       12       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

# Reviewed, transaction id: 32086
# Reviewed, transaction id: 32087
@ZhuoZhuoCrayon ZhuoZhuoCrayon merged commit fb6b416 into main Mar 2, 2025
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant