Skip to content

Commit

Permalink
Merge pull request #217 from HackGT/scaledown
Browse files Browse the repository at this point in the history
scale down
  • Loading branch information
PhillipPhanhthourath authored Sep 30, 2024
2 parents 4061254 + 8bc0837 commit 5d8730c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/src/rateLimit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const rateLimiter = () => {
if (config.common.production) {
return rateLimit({
windowMs: 2 * 60 * 1000, // 2 minutes
max: 10000, // Limit each IP to 1000 requests per window
max: 1000, // Limit each IP to 1000 requests per window
standardHeaders: true, // Return rate limit info in the `RateLimit-*` headers
legacyHeaders: false, // Disable the `X-RateLimit-*` headers
message: {
Expand Down

0 comments on commit 5d8730c

Please sign in to comment.