Skip to content

Commit

Permalink
docs: clarify interval
Browse files Browse the repository at this point in the history
  • Loading branch information
Baroshem committed Oct 27, 2023
1 parent 53c6bbe commit f0f1357
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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`

Expand Down

0 comments on commit f0f1357

Please sign in to comment.