add missing ratelimiting options required for load testing

This commit is contained in:
Max Klenk 2020-09-11 09:46:20 +02:00
parent 9a3d84b931
commit 4fdfc0a34f
No known key found for this signature in database
GPG key ID: 26EFB2972F02F380
2 changed files with 14 additions and 1 deletions

View file

@ -111,6 +111,18 @@ matrix_synapse_rc_login:
per_second: 0.17
burst_count: 3
matrix_synapse_rc_admin_redaction:
per_second: 1
burst_count: 50
matrix_synapse_rc_joins:
local:
per_second: 0.1
burst_count: 3
remote:
per_second: 0.01
burst_count: 3
matrix_synapse_rc_federation:
window_size: 1000
sleep_limit: 10

View file

@ -772,6 +772,7 @@ rc_login: {{ matrix_synapse_rc_login|to_json }}
#rc_admin_redaction:
# per_second: 1
# burst_count: 50
rc_admin_redaction: {{ matrix_synapse_rc_admin_redaction|to_json }}
#
#rc_joins:
# local:
@ -780,7 +781,7 @@ rc_login: {{ matrix_synapse_rc_login|to_json }}
# remote:
# per_second: 0.01
# burst_count: 3
rc_joins: {{ matrix_synapse_rc_joins|to_json }}
# Ratelimiting settings for incoming federation
#