-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add rate limiter for comment endpoint (#4084)
#### What type of PR is this? /kind feature /kind core #### What this PR does / why we need it: This PR limited comment creation at a rate of 10 per minute. See #4044 for more. #### Special notes for your reviewer: 1. Start Halo. 2. Create 11 new comments 3. Check the response. #### Does this PR introduce a user-facing change? ```release-note 增加发表评论频率限制功能 ```
- Loading branch information
1 parent
f37085f
commit d28f607
Showing
3 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
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