Update comment to be more clear

This commit is contained in:
Yana De Pauw
2020-11-06 14:47:14 +01:00
parent 5ef7ae1b86
commit 3a486f5117

View File

@@ -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;