Add support for adjusting Synapse rate-limiting configuration
This commit is contained in:
@ -409,6 +409,7 @@ rc_message_burst_count: {{ matrix_synapse_rc_message_burst_count }}
|
||||
#rc_registration:
|
||||
# per_second: 0.17
|
||||
# burst_count: 3
|
||||
rc_registration: {{ matrix_synapse_rc_registration|to_json }}
|
||||
#
|
||||
#rc_login:
|
||||
# address:
|
||||
@ -420,30 +421,36 @@ rc_message_burst_count: {{ matrix_synapse_rc_message_burst_count }}
|
||||
# failed_attempts:
|
||||
# per_second: 0.17
|
||||
# burst_count: 3
|
||||
rc_login: {{ matrix_synapse_rc_login|to_json }}
|
||||
|
||||
# The federation window size in milliseconds
|
||||
#
|
||||
#federation_rc_window_size: 1000
|
||||
federation_rc_window_size: {{ matrix_synapse_federation_rc_window_size }}
|
||||
|
||||
# The number of federation requests from a single server in a window
|
||||
# before the server will delay processing the request.
|
||||
#
|
||||
#federation_rc_sleep_limit: 10
|
||||
federation_rc_sleep_limit: {{ matrix_synapse_federation_rc_sleep_limit }}
|
||||
|
||||
# The duration in milliseconds to delay processing events from
|
||||
# remote servers by if they go over the sleep limit.
|
||||
#
|
||||
#federation_rc_sleep_delay: 500
|
||||
federation_rc_sleep_delay: {{ matrix_synapse_federation_rc_sleep_delay }}
|
||||
|
||||
# The maximum number of concurrent federation requests allowed
|
||||
# from a single server
|
||||
#
|
||||
#federation_rc_reject_limit: 50
|
||||
federation_rc_reject_limit: {{ matrix_synapse_federation_rc_reject_limit }}
|
||||
|
||||
# The number of federation requests to concurrently process from a
|
||||
# single server
|
||||
#
|
||||
#federation_rc_concurrent: 3
|
||||
federation_rc_concurrent: {{ matrix_synapse_federation_rc_concurrent }}
|
||||
|
||||
# Target outgoing federation transaction frequency for sending read-receipts,
|
||||
# per-room.
|
||||
@ -452,6 +459,7 @@ rc_message_burst_count: {{ matrix_synapse_rc_message_burst_count }}
|
||||
# into fewer transactions.
|
||||
#
|
||||
#federation_rr_transactions_per_room_per_second: 50
|
||||
federation_rr_transactions_per_room_per_second: {{ matrix_synapse_federation_rr_transactions_per_room_per_second }}
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user