From 480b5d9fab3ac76a792516edb2431525e06b0963 Mon Sep 17 00:00:00 2001 From: Han Date: Wed, 1 May 2024 19:16:46 +0100 Subject: [PATCH] reduce rate limiting --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index f1260f6..94f02da 100644 --- a/index.js +++ b/index.js @@ -39,8 +39,8 @@ if (!isDevelopment) { server.use( rateLimit({ - windowMs: 15 * 60 * 1000, - max: 100, + windowMs: 1 * 60 * 1000, // 1 minute + max: 1000, // limit each IP to 1000 requests per windowMs }) )