From 3a486f51179c8311b091963ba7fe514c48c02799 Mon Sep 17 00:00:00 2001 From: Yana De Pauw Date: Fri, 6 Nov 2020 14:47:14 +0100 Subject: [PATCH] Update comment to be more clear --- src/config/ui-server-config.interface.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/ui-server-config.interface.ts b/src/config/ui-server-config.interface.ts index 3e9e9134f3..93f90c345c 100644 --- a/src/config/ui-server-config.interface.ts +++ b/src/config/ui-server-config.interface.ts @@ -5,7 +5,7 @@ import { ServerConfig } from './server-config.interface'; */ export class UIServerConfig extends ServerConfig { - // rateLimiter is used to reduce the amount consequential hits and add a delay + // rateLimiter is used to limit the amount of requests a user is allowed make in an amount of time, in order to prevent overloading the server rateLimiter?: { windowMs: number; max: number;