Relax client log rate limiting

pull/6527/head
Chocobozzz 2024-07-02 09:43:07 +02:00
parent 01b3396c80
commit f81bc3d3dc
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
3 changed files with 7 additions and 7 deletions

View File

@ -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

View File

@ -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

View File

@ -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: {