Skip to content

Commit

Permalink
fix: increase rate limit for liveness probes
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelPretorius committed Dec 12, 2024
1 parent c5b7224 commit 55081dc
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 55081dc

Please sign in to comment.