This commit is contained in:
Tom Moor
2022-08-16 19:43:50 +02:00
parent ed8176ca7d
commit 85dab03820
4 changed files with 12 additions and 13 deletions

View File

@@ -7,9 +7,9 @@ import Metrics from "@server/logging/metrics";
import Redis from "@server/redis";
/**
* Middleware that limits the number of requests per IP address that are allowed
* within a window. Should only be applied once to a server do not use on
* individual routes.
* Middleware that limits the number of requests that are allowed within a given
* window. Should only be applied once to a server do not use on individual
* routes.
*
* @returns The middleware function.
*/