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

Mint: Add slowapi #481

Merged
merged 6 commits into from
Mar 23, 2024
Merged

Mint: Add slowapi #481

merged 6 commits into from
Mar 23, 2024

Conversation

callebtc
Copy link
Collaborator

This pull request adds the slowapi library to the project. The slowapi library is used for rate limiting requests to the mint API.

Copy link

codecov bot commented Mar 16, 2024

Codecov Report

Attention: Patch coverage is 14.77273% with 75 lines in your changes are missing coverage. Please review.

Project coverage is 63.00%. Comparing base (b288a6d) to head (7a94b1b).

Files Patch % Lines
cashu/mint/middleware.py 0.00% 27 Missing ⚠️
cashu/mint/limit.py 0.00% 18 Missing ⚠️
cashu/mint/router.py 0.00% 14 Missing ⚠️
cashu/mint/app.py 0.00% 9 Missing ⚠️
cashu/mint/router_deprecated.py 0.00% 7 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #481      +/-   ##
==========================================
- Coverage   68.38%   63.00%   -5.38%     
==========================================
  Files          74       76       +2     
  Lines        6760     6815      +55     
==========================================
- Hits         4623     4294     -329     
- Misses       2137     2521     +384     

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

@callebtc callebtc merged commit adeec00 into main Mar 23, 2024
15 checks passed
@callebtc callebtc deleted the slowapi-middleware branch March 23, 2024 01:25
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.

1 participant