From f0f1357f08b4a5a765a3af64931fed0f1af3bf1d Mon Sep 17 00:00:00 2001 From: Baroshem Date: Fri, 27 Oct 2023 09:53:25 +0200 Subject: [PATCH] docs: clarify interval --- docs/content/1.documentation/3.middleware/1.rate-limiter.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/1.documentation/3.middleware/1.rate-limiter.md b/docs/content/1.documentation/3.middleware/1.rate-limiter.md index eb2274c8..8309a664 100644 --- a/docs/content/1.documentation/3.middleware/1.rate-limiter.md +++ b/docs/content/1.documentation/3.middleware/1.rate-limiter.md @@ -72,7 +72,7 @@ The amount of requests that reach the application before rate limiting will bloc - Default: `300000` -The time after which the rate limiting will be reset. +The time value in miliseconds after which the rate limiting will be reset. For example, if you set it to `10000` and `tokensPerInterval: 3` it will allow three requests from one IP address in 10 seconds and the next one in this interval will be banned. After 10 seconds however, user will be able to send requests again. ### `headers`