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
@stefanprodan When a request is blocked you receive a message like this in the log:
AspNetCoreRateLimit.IpRateLimitMiddleware: Information: Request get:/api/foobars from IP 123.123.123.123 has been blocked, quota 2/1m exceeded by 3. Blocked by rule :/api/,
The log message incorrectly reports the quota was exceeded by the total number of requests, not the difference between the quota and the total number of requests.
In this example, this is the third request and so it should be blocked because the quota is two. The log message reports the quota has been exceeded by 3, but it has only been exceeded by 1.
The text was updated successfully, but these errors were encountered:
@stefanprodan When a request is blocked you receive a message like this in the log:
AspNetCoreRateLimit.IpRateLimitMiddleware: Information: Request get:/api/foobars from IP 123.123.123.123 has been blocked, quota 2/1m exceeded by 3. Blocked by rule :/api/,
The log message incorrectly reports the quota was exceeded by the total number of requests, not the difference between the quota and the total number of requests.
In this example, this is the third request and so it should be blocked because the quota is two. The log message reports the quota has been exceeded by 3, but it has only been exceeded by 1.
The text was updated successfully, but these errors were encountered: