-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial rate limiting impl based on the
leaky-bucket
and concread
…
… crates (#67) This implements an initial set of three rate limiting rules, broken up into two groups: * "multi" rules, where we keep a bounded set of key:bucket pairs * "single" rules, where we keep a single bucket Rules can be provided that match these rules, requiring requests to match all provided rules. --------- Co-authored-by: Brandon Pitman <[email protected]>
- Loading branch information
1 parent
16a22ee
commit ab3bfb5
Showing
13 changed files
with
934 additions
and
47 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.