aboutsummaryrefslogtreecommitdiffstats
path: root/lib/app.ts
diff options
context:
space:
mode:
authorDedan Kibere <[email protected]>2024-10-27 23:05:49 +0300
committerGitHub <[email protected]>2024-10-27 23:05:49 +0300
commit87059fe805d3372263d26b391f8855139f84ad34 (patch)
tree7099fbce72e7614c0c689d2f9a62e69f8b2e621a /lib/app.ts
parent041db323e4c23d87663bc29519af604137f3eb42 (diff)
parentd09712ef8f8ea8218ce229b233fc0013e6c06f7a (diff)
downloadcoinos-server-87059fe805d3372263d26b391f8855139f84ad34.tar.gz
coinos-server-87059fe805d3372263d26b391f8855139f84ad34.zip
Merge branch 'coinos:master' into master
Diffstat (limited to 'lib/app.ts')
-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: () => {