Skip to content

Commit 6ea3317

Browse files
authored
Add eng variable for api threshold
1 parent 42cb9c5 commit 6ea3317

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/backend/src/app.module.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import { McpModule } from '@gitroom/backend/mcp/mcp.module';
2525
ThrottlerModule.forRoot([
2626
{
2727
ttl: 3600000,
28-
limit: 30,
28+
limit: process.env.API_LIMIT || 30,
2929
},
3030
]),
3131
],

0 commit comments

Comments
 (0)