increase rate limits

This commit is contained in:
Maidul Islam
2024-06-03 13:55:32 -04:00
parent 77f794e1d0
commit eafa50747b

View File

@@ -28,7 +28,7 @@ export const readLimit: RateLimitOptions = {
// POST, PATCH, PUT, DELETE endpoints
export const writeLimit: RateLimitOptions = {
timeWindow: 60 * 1000,
max: 50,
max: 200, // (too low, FA having issues so increasing it - maidul)
keyGenerator: (req) => req.realIp
};