aboutsummaryrefslogtreecommitdiffstats
path: root/lib/app.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-03-08 04:31:34 +0000
committerAdam Soltys <[email protected]>2024-03-08 04:31:34 +0000
commit972ea530e8139a0357b6b45ccdf9742d19ba6a26 (patch)
treeeb2774d174c12e7304694d1793811d0ae0abf685 /lib/app.js
parent2bd73639038bbc9cd4c75758eda685c89011231f (diff)
downloadcoinos-server-972ea530e8139a0357b6b45ccdf9742d19ba6a26.tar.gz
coinos-server-972ea530e8139a0357b6b45ccdf9742d19ba6a26.zip
validate tips
Diffstat (limited to 'lib/app.js')
-rw-r--r--lib/app.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/app.js b/lib/app.js
index d289de05..337b2e96 100644
--- a/lib/app.js
+++ b/lib/app.js
@@ -20,8 +20,8 @@ const app = fastify({
});
await app.register(import("@fastify/rate-limit"), {
- max: 500,
- timeWindow: 5000,
+ max: 50,
+ timeWindow: 2000,
keyGenerator: (req) => req.headers["cf-connecting-ip"],
});