Skip to content
This repository was archived by the owner on Sep 20, 2025. It is now read-only.

Commit 6c22929

Browse files
committed
Increase rate limit value for production
1 parent cf7f6ba commit 6c22929

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ if ("production" === config.nodeEnv) {
2626

2727
const limiter = rateLimit({
2828
windowMs: 15 * 60 * 1000, // Every 15 minutes
29-
limit: "production" === config.nodeEnv ? 100 : 10000,
29+
limit: "production" === config.nodeEnv ? 1000 : 10000,
3030
standardHeaders: 'draft-8',
3131
legacyHeaders: false,
3232
ipv6Subnet: 56,

0 commit comments

Comments
 (0)