Closed marcuspoehls closed 6 years ago
Good idea, do you think could be useful customize duration
as well?
Yeah, I think customizing the duration
makes sense.
Do you want that in a second PR?
yes please 🙂
Alright, sounds good :smiley: Will create a second PR on a different branch in my fork
This PR adds the functionality to pass a custom
max
value as limit tolimiter.get()
. This is useful for user-specific limits and does not require a different rate limiter instance for each request.Looking forward to feedback :)