remove throttler again and increase limits

This commit is contained in:
SennayT
2026-07-14 10:40:11 +03:00
parent 8f45d7ae1f
commit fdb5e0f74c
2 changed files with 34 additions and 28 deletions

View File

@@ -69,11 +69,11 @@ import { EOtpType } from "@tria-plc/iamapi-common";
@Module({
imports: [
ThrottlerModule.forRoot([
{ name: "auth", ttl: 60, limit: 100000 },
{ name: "strict", ttl: 60, limit: 100000 },
{ name: "default", ttl: 60, limit: 100000 },
]),
// ThrottlerModule.forRoot([
// { name: "auth", ttl: 60, limit: 100000 },
// { name: "strict", ttl: 60, limit: 100000 },
// { name: "default", ttl: 60, limit: 100000 },
// ]),
ConfigModule.forRoot({
isGlobal: true,
load: [