fix: increase general rate limit from 100 to 1000 per 15min

100 requests/15min was far too low for a dashboard with auto-refresh
polling every 10-30 seconds, causing 429s on TOTP config, site config,
license status and other endpoints after ~3 minutes of normal use.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-31 23:26:30 -07:00
parent 188bcfbda0
commit 80bff25af9

View File

@@ -69,7 +69,7 @@ const SESSION_TTL = {
const RATE_LIMITS = {
GENERAL: {
windowMs: 15 * 60 * 1000, // 15 minutes
max: 100,
max: 1000,
},
STRICT: {
windowMs: 15 * 60 * 1000,