Add controls for influencing Matrix Synapse's rate-limiting

This commit is contained in:
Slavi Pantaleev
2018-08-20 21:24:54 +03:00
parent 3577a42f61
commit 02d5b54fa5
3 changed files with 25 additions and 3 deletions

View File

@ -197,10 +197,10 @@ log_config: "/data/{{ hostname_matrix }}.log.config"
## Ratelimiting ##
# Number of messages a client can send per second
rc_messages_per_second: 0.2
rc_messages_per_second: {{ matrix_synapse_rc_messages_per_second }}
# Number of message a client can send before being throttled
rc_message_burst_count: 10.0
rc_message_burst_count: {{ matrix_synapse_rc_message_burst_count }}
# The federation window size in milliseconds
federation_rc_window_size: 1000