mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-07-07 22:28:01 +02:00
fix: fix slow down configuration
This commit is contained in:
+2
-1
@@ -72,7 +72,8 @@ export default async function start() {
|
|||||||
const speedLimiter = slowDown({
|
const speedLimiter = slowDown({
|
||||||
windowMs: 15 * 60 * 1000, // 15 minutes
|
windowMs: 15 * 60 * 1000, // 15 minutes
|
||||||
delayAfter: 50,
|
delayAfter: 50,
|
||||||
delayMs: 5000,
|
delayMs: 150,
|
||||||
|
maxDelayMs: 5000,
|
||||||
headers: true,
|
headers: true,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user