Skip to content

Commit

Permalink
fix(api): adjust global qps throttle config
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcfps committed Feb 12, 2025
1 parent 8443743 commit 234ba75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/api/src/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class CustomThrottlerGuard extends ThrottlerGuard {
{
name: 'default',
ttl: seconds(1),
limit: 10,
limit: 50,
},
],
getTracker: (req) => (req.ips?.length ? req.ips[0] : req.ip),
Expand Down

0 comments on commit 234ba75

Please sign in to comment.