diff --git a/config/default.yaml b/config/default.yaml index 8920e0d37..2a213175b 100644 --- a/config/default.yaml +++ b/config/default.yaml @@ -33,9 +33,9 @@ rates_limit: window: 5 minutes max: 3 receive_client_log: - # 10 attempts in 10 min - window: 10 minutes - max: 10 + # 1 attempt every 2 seconds + window: 1 minute + max: 30 plugins: # 500 attempts in 10 seconds (we also serve plugin static files) window: 10 seconds diff --git a/config/production.yaml.example b/config/production.yaml.example index 0296b7e56..71b9c4cb9 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example @@ -31,9 +31,9 @@ rates_limit: window: 5 minutes max: 3 receive_client_log: - # 10 attempts in 10 min - window: 10 minutes - max: 10 + # 1 attempt every 2 seconds + window: 1 minute + max: 30 plugins: # 500 attempts in 10 seconds (we also serve plugin static files) window: 10 seconds diff --git a/server/core/initializers/constants.ts b/server/core/initializers/constants.ts index 1395af040..77dd91655 100644 --- a/server/core/initializers/constants.ts +++ b/server/core/initializers/constants.ts @@ -487,7 +487,7 @@ const CONSTRAINTS_FIELDS = { LOGS: { CLIENT_MESSAGE: { min: 1, max: 1000 }, // Length CLIENT_STACK_TRACE: { min: 1, max: 15000 }, // Length - CLIENT_META: { min: 1, max: 5000 }, // Length + CLIENT_META: { min: 1, max: 15000 }, // Length CLIENT_USER_AGENT: { min: 1, max: 200 } // Length }, RUNNERS: {