Add eng variable for api threshold
This commit is contained in:
parent
42cb9c5499
commit
6ea3317dbf
|
|
@ -25,7 +25,7 @@ import { McpModule } from '@gitroom/backend/mcp/mcp.module';
|
||||||
ThrottlerModule.forRoot([
|
ThrottlerModule.forRoot([
|
||||||
{
|
{
|
||||||
ttl: 3600000,
|
ttl: 3600000,
|
||||||
limit: 30,
|
limit: process.env.API_LIMIT || 30,
|
||||||
},
|
},
|
||||||
]),
|
]),
|
||||||
],
|
],
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue