Skip to content

Commit

Permalink
feat: Increase Rate-Limit
Browse files Browse the repository at this point in the history
  • Loading branch information
philipbrembeck authored Oct 7, 2024
1 parent 7cd5ce2 commit 020013b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rate-limiter.middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import rateLimit from 'express-rate-limit';
export class RateLimiterMiddleware implements NestMiddleware {
private readonly limiter = rateLimit({
windowMs: 60 * 1000,
max: 150,
max: 350,
message: '{status: "429", code: "Rate limit reached"}',
});

Expand Down

0 comments on commit 020013b

Please sign in to comment.