From bab9ba9bec1d646cc228168d7238c1cd232fd180 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Tue, 22 Oct 2024 11:47:34 -0700 Subject: increase rate limit --- lib/app.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/app.ts b/lib/app.ts index 51b43d05..3b31a923 100644 --- a/lib/app.ts +++ b/lib/app.ts @@ -46,7 +46,7 @@ app.addHook("onResponse", async (req, reply) => { app.register(fastifyRateLimit, { allowList: (req) => req.raw.url?.includes("public"), - max: 100, + max: 500, timeWindow: 2000, keyGenerator: (req) => req.headers["cf-connecting-ip"] as string, errorResponseBuilder: () => { -- cgit v1.2.3