From 6ea3317dbfdf802b2bb89b79f41aa87b325eff2c Mon Sep 17 00:00:00 2001 From: egelhaus <156946629+egelhaus@users.noreply.github.com> Date: Mon, 28 Apr 2025 13:03:08 +0200 Subject: [PATCH] Add eng variable for api threshold --- apps/backend/src/app.module.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/backend/src/app.module.ts b/apps/backend/src/app.module.ts index 5a34a64a..cce57dcb 100644 --- a/apps/backend/src/app.module.ts +++ b/apps/backend/src/app.module.ts @@ -25,7 +25,7 @@ import { McpModule } from '@gitroom/backend/mcp/mcp.module'; ThrottlerModule.forRoot([ { ttl: 3600000, - limit: 30, + limit: process.env.API_LIMIT || 30, }, ]), ],