-
-
Notifications
You must be signed in to change notification settings - Fork 73
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
Function for timeWindow
#283
Comments
Well this feature request raises questions. What are the headers on the response you gonna set? I think it is useful what you suggest, but needs more specs. So please elaborate. |
Can be done as in nginx: https://serverfault.com/questions/976574/nginx-rate-limiting-using-multiple-rate-rules You need to save the number of requests for the window separately When requested:
|
Would you like to send a Pull Request to address this issue? Remember to add unit tests. |
I tried, but realized that it would take a lot of architecture changes. |
I think something similar can be achieved by using a function for the max parameter |
I added |
Closed by #357 |
Prerequisites
🚀 Feature Proposal
Add a function so that you can do a limit, for example 10 per minute AND 100 per hour AND 1000 per day.
Motivation
No response
Example
The text was updated successfully, but these errors were encountered: