Skip to content

Commit

Permalink
Merge pull request #542 from frontendnetwork/feat/RateLimit
Browse files Browse the repository at this point in the history
feat: Increase Rate-Limit
  • Loading branch information
philipbrembeck authored Oct 7, 2024
2 parents 7cd5ce2 + 020013b commit 69c6153
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 69c6153

Please sign in to comment.