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

feat: add bandwidth limit example #158

Closed
wants to merge 4 commits into from
Closed

Conversation

saixiaoxi
Copy link
Contributor

@saixiaoxi saixiaoxi commented Nov 26, 2024

What type of PR is this?

feat: add bandwidth limit example

What this PR does / why we need it (English/Chinese):

This PR adds a rate limiting middleware to the Hertz server to limit the response rate to 100KB/s.

Which issue(s) this PR fixes:

Fixes #131

@saixiaoxi saixiaoxi requested review from a team as code owners November 26, 2024 12:32
@CLAassistant
Copy link

CLAassistant commented Nov 26, 2024

CLA assistant check
All committers have signed the CLA.

@saixiaoxi saixiaoxi closed this Nov 26, 2024
@saixiaoxi saixiaoxi reopened this Nov 26, 2024
@GuangmingLuo
Copy link
Member

@saixiaoxii Thanks, please raise another PR to fix the Copyright and typos. I will merge that one first.

@saixiaoxi saixiaoxi closed this Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

possible to do a rate limit example in terms of bandwidth? e.g. rate limited by 100kb/second
3 participants