I wanted to send an information to my logger service when someone would get rate-limited (I'm using the memory store), but if I send the log in the onLimit function, I would get flooded with a lot of logs (and this make sense because the onLimit function is called on each request).
Would there be an option to have a function that is called only on the first request where the user (with the same fingerprint) is being rate limited?
If there is no option at the moment, I think this would be a feature request
Thanks for the amazing library btw!
I wanted to send an information to my logger service when someone would get rate-limited (I'm using the memory store), but if I send the log in the
onLimitfunction, I would get flooded with a lot of logs (and this make sense because the onLimit function is called on each request).Would there be an option to have a function that is called only on the first request where the user (with the same fingerprint) is being rate limited?
If there is no option at the moment, I think this would be a feature request
Thanks for the amazing library btw!