Closed AlexRMU closed 10 months ago
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 can help with tips or a review.
I think something similar can be achieved by using a function for the max parameter
I added function
feature for timeWindow
. Please have a look :)
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