make ratelimit more

This commit is contained in:
ashley 2024-10-19 19:13:47 +00:00
parent d8f93dedd1
commit 3796095cbb

View file

@ -76,8 +76,8 @@
const rateLimit = require("express-rate-limit");
const limiter = rateLimit({
windowMs: 45 * 1000, // 45 Seconds
max: 886, // limit each IP to 866 requests per windowMs
windowMs: 30 * 1000, // 30 second window
max: 200, // limit each IP to 200 requests per 30 seconds
});
var app = modules.express();