feat: update rate limit to 6 reqs every 30 mins
This commit is contained in:
@@ -6,7 +6,7 @@ config();
|
||||
|
||||
export const ratelimit = rateLimit({
|
||||
windowMs: Number(process.env.WINDOWMS) || 30 * 60 * 1000,
|
||||
limit: Number(process.env.MAX) || 50,
|
||||
limit: Number(process.env.MAX) || 6,
|
||||
legacyHeaders: true,
|
||||
standardHeaders: "draft-7",
|
||||
handler: function (_, __, next) {
|
||||
|
||||
Reference in New Issue
Block a user