Skip to content

Commit 331f806

Browse files
committed
Add scoped and per-endpoint ratelimit customizations
- Add optional parameters to ratelimit decorator: per_token_limit, per_ip_limit, window, and scope - Add scope parameter to customize rate limits for a bundle of endpoints - Implement limit resolution order: decorator params > scope cache > global
1 parent bf01c6d commit 331f806

File tree

2 files changed

+510
-166
lines changed

2 files changed

+510
-166
lines changed

0 commit comments

Comments
 (0)