Skip to content

Commit

Permalink
default rate limit to 2400 reqs/min
Browse files Browse the repository at this point in the history
  • Loading branch information
TBonnin committed Mar 25, 2024
1 parent 87eb55e commit 7b4cab2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/server/lib/controllers/ratelimit.middleware.ts
Expand Up @@ -7,7 +7,7 @@ import { getAccount, getRedisUrl, logger } from '@nangohq/shared';
const rateLimiter = await (async () => {
const opts = {
keyPrefix: 'middleware',
points: parseInt(process.env['DEFAULT_RATE_LIMIT_PER_MIN'] || '0') || 1200,
points: parseInt(process.env['DEFAULT_RATE_LIMIT_PER_MIN'] || '0') || 2400,
duration: 60,
blockDuration: 0
};
Expand Down

0 comments on commit 7b4cab2

Please sign in to comment.