Skip to content

Commit 31f6910

Browse files
authored
Merge pull request #86 from teacoder-team/dev
Dev
2 parents 357f62f + b581df1 commit 31f6910

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/config/loaders/throttler.config-loader.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,34 +16,34 @@ export function getThrottlerConfig(
1616
{
1717
name: 'strict',
1818
ttl: seconds(30),
19-
limit: 20
19+
limit: 50
2020
},
2121
{
2222
name: 'moderate',
2323
ttl: seconds(120),
24-
limit: 100
24+
limit: 200
2525
},
2626
{
2727
name: 'relaxed',
2828
ttl: seconds(600),
29-
limit: 1000
29+
limit: 2000
3030
},
3131
{
3232
name: 'burst',
3333
ttl: seconds(5),
34-
limit: 50
34+
limit: 100
3535
},
3636
{
3737
name: 'hourly',
3838
ttl: seconds(3600),
39-
limit: 5000
39+
limit: 10000
4040
}
4141
],
4242
errorMessage:
4343
'Too many requests. Please pause and try again a little later.',
4444
storage: new ThrottlerStorageRedisService(
4545
getRedisConfig(configService)
4646
),
47-
skipIf: context => isDev(configService)
47+
skipIf: context => true
4848
}
4949
}

0 commit comments

Comments
 (0)