修改请求速率

This commit is contained in:
2025-07-05 16:58:28 +08:00
parent 6a73917264
commit a9c5d91e56

View File

@ -17,7 +17,7 @@ module.exports = {
}, },
rateLimit: { rateLimit: {
windowMs: 15 * 60 * 1000, // 15分钟 windowMs: 15 * 60 * 1000, // 15分钟
max: 100 // 每个IP限制100个请求 max: 10000 // 每个IP限制10000个请求
}, },
redis: { redis: {
url: process.env.REDIS_URL || 'redis://localhost:6379', url: process.env.REDIS_URL || 'redis://localhost:6379',