Skip to content

Commit

Permalink
Adjust app-wide API limit
Browse files Browse the repository at this point in the history
  • Loading branch information
dangtony98 committed Jan 16, 2023
1 parent b359fb5 commit 56aec21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/helpers/rateLimiter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import rateLimit from 'express-rate-limit';
// 120 requests per minute
const apiLimiter = rateLimit({
windowMs: 60 * 1000,
max: 120,
max: 240,
standardHeaders: true,
legacyHeaders: false,
skip: (request) => {
Expand Down

0 comments on commit 56aec21

Please sign in to comment.