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
|
window: 5 minutes
|
||||||
max: 3
|
max: 3
|
||||||
receive_client_log:
|
receive_client_log:
|
||||||
# 10 attempts in 10 min
|
# 1 attempt every 2 seconds
|
||||||
window: 10 minutes
|
window: 1 minute
|
||||||
max: 10
|
max: 30
|
||||||
plugins:
|
plugins:
|
||||||
# 500 attempts in 10 seconds (we also serve plugin static files)
|
# 500 attempts in 10 seconds (we also serve plugin static files)
|
||||||
window: 10 seconds
|
window: 10 seconds
|
||||||
|
|
|
@ -31,9 +31,9 @@ rates_limit:
|
||||||
window: 5 minutes
|
window: 5 minutes
|
||||||
max: 3
|
max: 3
|
||||||
receive_client_log:
|
receive_client_log:
|
||||||
# 10 attempts in 10 min
|
# 1 attempt every 2 seconds
|
||||||
window: 10 minutes
|
window: 1 minute
|
||||||
max: 10
|
max: 30
|
||||||
plugins:
|
plugins:
|
||||||
# 500 attempts in 10 seconds (we also serve plugin static files)
|
# 500 attempts in 10 seconds (we also serve plugin static files)
|
||||||
window: 10 seconds
|
window: 10 seconds
|
||||||
|
|
|
@ -487,7 +487,7 @@ const CONSTRAINTS_FIELDS = {
|
||||||
LOGS: {
|
LOGS: {
|
||||||
CLIENT_MESSAGE: { min: 1, max: 1000 }, // Length
|
CLIENT_MESSAGE: { min: 1, max: 1000 }, // Length
|
||||||
CLIENT_STACK_TRACE: { min: 1, max: 15000 }, // 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
|
CLIENT_USER_AGENT: { min: 1, max: 200 } // Length
|
||||||
},
|
},
|
||||||
RUNNERS: {
|
RUNNERS: {
|
||||||
|
|
Loading…
Reference in New Issue