fix: fix slow down configuration

This commit is contained in:
tdurieux
2022-10-19 11:13:23 +02:00
parent 11e6f397a0
commit 1a294a4f33

View File

@@ -72,7 +72,8 @@ export default async function start() {
const speedLimiter = slowDown({
windowMs: 15 * 60 * 1000, // 15 minutes
delayAfter: 50,
delayMs: 5000,
delayMs: 150,
maxDelayMs: 5000,
headers: true,
});