From 68692b7c8b4feb58452b95b030d11b6eb27f2a2e Mon Sep 17 00:00:00 2001 From: ZaydSkaff Date: Wed, 25 Jun 2025 13:50:38 +0300 Subject: [PATCH] increase rate limit to 100 per minute for each IP (#435) --- src/app.module.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app.module.ts b/src/app.module.ts index f0ab9fc..3eee546 100644 --- a/src/app.module.ts +++ b/src/app.module.ts @@ -50,7 +50,7 @@ import { SchedulerModule } from './scheduler/scheduler.module'; load: config, }), ThrottlerModule.forRoot({ - throttlers: [{ ttl: 60000, limit: 30 }], + throttlers: [{ ttl: 60000, limit: 100 }], generateKey: (context) => { const req = context.switchToHttp().getRequest(); console.log('Real IP:', req.headers['x-forwarded-for']);