From 020013bd733b4671927dd259bde258385bab9334 Mon Sep 17 00:00:00 2001 From: Philip Jake Date: Mon, 7 Oct 2024 19:35:56 +0200 Subject: [PATCH] feat: Increase Rate-Limit --- src/rate-limiter.middleware.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rate-limiter.middleware.ts b/src/rate-limiter.middleware.ts index 38f5c817..5b1032b9 100644 --- a/src/rate-limiter.middleware.ts +++ b/src/rate-limiter.middleware.ts @@ -5,7 +5,7 @@ import rateLimit from 'express-rate-limit'; export class RateLimiterMiddleware implements NestMiddleware { private readonly limiter = rateLimit({ windowMs: 60 * 1000, - max: 150, + max: 350, message: '{status: "429", code: "Rate limit reached"}', });