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:
@@ -69,7 +69,7 @@ const SESSION_TTL = {
|
|||||||
const RATE_LIMITS = {
|
const RATE_LIMITS = {
|
||||||
GENERAL: {
|
GENERAL: {
|
||||||
windowMs: 15 * 60 * 1000, // 15 minutes
|
windowMs: 15 * 60 * 1000, // 15 minutes
|
||||||
max: 100,
|
max: 1000,
|
||||||
},
|
},
|
||||||
STRICT: {
|
STRICT: {
|
||||||
windowMs: 15 * 60 * 1000,
|
windowMs: 15 * 60 * 1000,
|
||||||
|
|||||||
Reference in New Issue
Block a user