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

Fix redis expiration #82

Merged
merged 9 commits into from
Oct 16, 2022
Merged

Fix redis expiration #82

merged 9 commits into from
Oct 16, 2022

Conversation

vutran1710
Copy link
Owner

Refactor & Update PR #81 fixing #74

pavinjosdev and others added 6 commits October 15, 2022 20:30
Keys stored in redis should expire and not persist more than the max duration of the rates provided. Addresses issue #74
patch version bump
AbstractClass maintained as before. maxinterval adopted only for redis class.
- use pipeline for multi-command execution
@codecov
Copy link

codecov bot commented Oct 16, 2022

Codecov Report

Base: 98.15% // Head: 98.17% // Increases project coverage by +0.02% 🎉

Coverage data is based on head (a2db0fe) compared to base (748060f).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #82      +/-   ##
==========================================
+ Coverage   98.15%   98.17%   +0.02%     
==========================================
  Files           7        7              
  Lines         379      384       +5     
  Branches       33       34       +1     
==========================================
+ Hits          372      377       +5     
  Misses          4        4              
  Partials        3        3              
Impacted Files Coverage Δ
pyrate_limiter/bucket.py 94.40% <100.00%> (+0.23%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@vutran1710 vutran1710 added the enhancement New feature or request label Oct 16, 2022
@vutran1710
Copy link
Owner Author

@pavinjosdev tests alright now.
Let me know if you have anything else you want to change.
If not we can proceed to release this.

@pavinjosdev
Copy link

@vutran1710 Okay, great. Thank you!

@vutran1710 vutran1710 merged commit cbdd3c6 into master Oct 16, 2022
@vutran1710 vutran1710 deleted the fix-redis-expiration branch October 16, 2022 18:16
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.

2 participants