1
0
mirror of https://github.com/spantaleev/matrix-docker-ansible-deploy.git synced 2024-12-12 08:43:55 +02:00

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 per_second: 0.17
burst_count: 3 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: matrix_synapse_rc_federation:
window_size: 1000 window_size: 1000
sleep_limit: 10 sleep_limit: 10

View File

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