mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
Update comment to be more clear
This commit is contained in:
@@ -5,7 +5,7 @@ import { ServerConfig } from './server-config.interface';
|
|||||||
*/
|
*/
|
||||||
export class UIServerConfig extends ServerConfig {
|
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?: {
|
rateLimiter?: {
|
||||||
windowMs: number;
|
windowMs: number;
|
||||||
max: number;
|
max: number;
|
||||||
|
Reference in New Issue
Block a user