mirror of https://github.com/Chocobozzz/PeerTube
Relax client log rate limiting
parent
01b3396c80
commit
f81bc3d3dc
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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: {
|
||||
|
|
Loading…
Reference in New Issue