Skip to content

Commit

Permalink
bump rate limit
Browse files Browse the repository at this point in the history
  • Loading branch information
mcnaveen committed Aug 25, 2024
1 parent 0150fa2 commit 039ad1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const rua = randomUseragent.getRandom();

export const limiter = rateLimit({
windowMs: 15 * 60 * 1000, // 15 minutes
max: 5, // Limit each IP to 100 requests per windowMs
max: 30, // Limit each IP to 100 requests per windowMs
standardHeaders: true, // Return rate limit info in the `RateLimit-*` headers
legacyHeaders: false, // Disable the `X-RateLimit-*` headers
message: {
Expand Down

0 comments on commit 039ad1b

Please sign in to comment.