rate-limit
rate-limit copied to clipboard
Method to have custom time range
Hi,
First of all a very nice and compact library. I would like to know if there's any option/method where I can rate limit for custom time. For example every 5 minutes, every 25 minutes etc. It would be good to have that option.
Thanks
Thanks!
There is a custom rate limit strategy, take a look at: https://github.com/nikolaposa/rate-limit/blob/master/src/Rate.php#L46. I might document that in README.