We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 357f62f + b581df1 commit 31f6910Copy full SHA for 31f6910
1 file changed
src/config/loaders/throttler.config-loader.ts
@@ -16,34 +16,34 @@ export function getThrottlerConfig(
16
{
17
name: 'strict',
18
ttl: seconds(30),
19
- limit: 20
+ limit: 50
20
},
21
22
name: 'moderate',
23
ttl: seconds(120),
24
- limit: 100
+ limit: 200
25
26
27
name: 'relaxed',
28
ttl: seconds(600),
29
- limit: 1000
+ limit: 2000
30
31
32
name: 'burst',
33
ttl: seconds(5),
34
- limit: 50
+ limit: 100
35
36
37
name: 'hourly',
38
ttl: seconds(3600),
39
- limit: 5000
+ limit: 10000
40
}
41
],
42
errorMessage:
43
'Too many requests. Please pause and try again a little later.',
44
storage: new ThrottlerStorageRedisService(
45
getRedisConfig(configService)
46
),
47
- skipIf: context => isDev(configService)
+ skipIf: context => true
48
49
0 commit comments