aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-10-22 11:47:34 -0700
committerAdam Soltys <[email protected]>2024-10-22 11:47:34 -0700
commitbab9ba9bec1d646cc228168d7238c1cd232fd180 (patch)
tree477dc4c69d1d874ca78fd5207372f64a7f691475 /lib
parentd1272e81754f4b451793d572742ae51dd8b00a10 (diff)
downloadcoinos-server-bab9ba9bec1d646cc228168d7238c1cd232fd180.tar.gz
coinos-server-bab9ba9bec1d646cc228168d7238c1cd232fd180.zip
increase rate limit
Diffstat (limited to 'lib')
-rw-r--r--lib/app.ts2
1 files changed, 1 insertions, 1 deletions
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: () => {