You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** * Up to 15 per 5 minutes * @RateLimit(methods={"PUT", "POST"}, limit=15, period=300) * But, still, no more than 100 per hour (instead of 180 otherwise) * @RateLimit(methods={"PUT", "POST"}, limit=100, period=3600) */publicfunctionfooPost() {}
If yes, then this would be valuable to add to the documentation.
Another side question which the documentation does not make clear is whether built-in Route annotation's method is considered.
The text was updated successfully, but these errors were encountered:
drzraf
changed the title
[question] Multiple periods
[question] Multiple simultaneate ratelimits per route
Apr 6, 2020
drzraf
changed the title
[question] Multiple simultaneate ratelimits per route
[question] Multiple simultaneate ratelimits of different periods per route
Apr 6, 2020
Are
multiple periods
supported?If yes, then this would be valuable to add to the documentation.
Another side question which the documentation does not make clear is whether built-in
Route
annotation's method is considered.Eg, with :
... is the rate-limit automatically restricted to
POST
?Mention #4
The text was updated successfully, but these errors were encountered: