feat: 添加默认限流规则名称
This commit is contained in:
@@ -34,6 +34,7 @@ import { CommonModule } from './common/common.module';
|
|||||||
ignoreUserAgents: [/googlebot/i, /bingbot/i],
|
ignoreUserAgents: [/googlebot/i, /bingbot/i],
|
||||||
throttlers: [
|
throttlers: [
|
||||||
{
|
{
|
||||||
|
name: '1_min',
|
||||||
limit: 100,
|
limit: 100,
|
||||||
ttl: 60000, // 1 minute
|
ttl: 60000, // 1 minute
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user