diff options
| author | Adam Soltys <[email protected]> | 2024-03-08 04:31:34 +0000 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-03-08 04:31:34 +0000 |
| commit | 972ea530e8139a0357b6b45ccdf9742d19ba6a26 (patch) | |
| tree | eb2774d174c12e7304694d1793811d0ae0abf685 /lib/app.js | |
| parent | 2bd73639038bbc9cd4c75758eda685c89011231f (diff) | |
| download | coinos-server-972ea530e8139a0357b6b45ccdf9742d19ba6a26.tar.gz coinos-server-972ea530e8139a0357b6b45ccdf9742d19ba6a26.zip | |
validate tips
Diffstat (limited to 'lib/app.js')
| -rw-r--r-- | lib/app.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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"], }); |
