修改请求速率
This commit is contained in:
@ -17,7 +17,7 @@ module.exports = {
|
||||
},
|
||||
rateLimit: {
|
||||
windowMs: 15 * 60 * 1000, // 15分钟
|
||||
max: 100 // 每个IP限制100个请求
|
||||
max: 10000 // 每个IP限制10000个请求
|
||||
},
|
||||
redis: {
|
||||
url: process.env.REDIS_URL || 'redis://localhost:6379',
|
||||
|
Reference in New Issue
Block a user