perf(rateLimit): increased windowMs time
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
import { rateLimit } from "express-rate-limit";
|
import { rateLimit } from "express-rate-limit";
|
||||||
|
|
||||||
export const ratelimit = rateLimit({
|
export const ratelimit = rateLimit({
|
||||||
windowMs: 10 * 60 * 1000,
|
windowMs: 30 * 60 * 1000,
|
||||||
max: 70,
|
max: 70,
|
||||||
legacyHeaders: true,
|
legacyHeaders: true,
|
||||||
standardHeaders: "draft-7",
|
standardHeaders: "draft-7",
|
||||||
|
|||||||
Reference in New Issue
Block a user