diff --git a/server/api/limiter.js b/server/api/limiter.js index 67eddd5b..f888bed5 100644 --- a/server/api/limiter.js +++ b/server/api/limiter.js @@ -7,11 +7,11 @@ const instanceApiRateLimiter = { DDOSProtectionApiRateLimiter: (process.env.NODE_ENV === 'test' ? next : rateLimit({ windowMs: 60 * 1000, // 1 minutes - max: 100, // Limit each IP to 100 requests per `window` + max: 150, // Limit each IP to 150 requests per `window` standardHeaders: true, // Return rate limit info in the `RateLimit-*` headers legacyHeaders: false, // Disable the `X-RateLimit-*` headers handler: (request, response, next, options) => { - log.warn(`DDOS protection api rate limiter: > 100req/minute/ip ${request.ip}`) + log.warn(`DDOS protection api rate limiter: > 150req/minute/ip ${request.ip}`) return response.status(options.statusCode).send(options.message) } })),