mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-10 22:28:47 +00:00
update rate limits
This commit is contained in:
committed by
Akhil Mohan
parent
dd0f9f5216
commit
af77ad8b2f
@@ -11,7 +11,7 @@ export const globalRateLimiterCfg = (): RateLimitPluginOptions => {
|
|||||||
|
|
||||||
return {
|
return {
|
||||||
timeWindow: 60 * 1000,
|
timeWindow: 60 * 1000,
|
||||||
max: 100,
|
max: 400,
|
||||||
redis,
|
redis,
|
||||||
allowList: (req) => req.url === "/healthcheck" || req.url === "/api/status",
|
allowList: (req) => req.url === "/healthcheck" || req.url === "/api/status",
|
||||||
keyGenerator: (req) => req.realIp
|
keyGenerator: (req) => req.realIp
|
||||||
|
|||||||
Reference in New Issue
Block a user