Skip to content

Commit

Permalink
Merge pull request #7 from ixofoundation/develop
Browse files Browse the repository at this point in the history
fix: increase rate limit for liveness probes
  • Loading branch information
Michael-Ixo authored Dec 13, 2024
2 parents 964d1fc + 55081dc commit f8582b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { getCoreBlock } from "./postgres/query_block";

const limiter = rateLimit({
windowMs: 1 * 60 * 1000, // 1 minutes
max: 10, // Limit each IP to 100 requests per `window`
max: 100, // Limit each IP to 100 requests per `window`
standardHeaders: true, // Return rate limit info in the `RateLimit-*` headers
legacyHeaders: false, // Disable the `X-RateLimit-*` headers
message: "Too many requests from this IP, please try again after 1 minutes",
Expand Down

0 comments on commit f8582b4

Please sign in to comment.