summary refs log tree commit diff
path: root/docs/sample_config.yaml
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2020-05-07 17:31:19 +0200
committerBrendan Abolivier <babolivier@matrix.org>2020-05-07 17:31:19 +0200
commit5bb26b7c4fa22ce3927fb365b5af06efec8cc4c7 (patch)
tree5abb3820f5e29c8eef26b78283afdf562198093c /docs/sample_config.yaml
parentFixes typo (bellow -> below) (#7449) (diff)
parentAdd a configuration setting for the dummy event threshold (#7422) (diff)
downloadsynapse-5bb26b7c4fa22ce3927fb365b5af06efec8cc4c7.tar.xz
Merge branch 'release-v1.13.0' into develop
Diffstat (limited to 'docs/sample_config.yaml')
-rw-r--r--docs/sample_config.yaml12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/sample_config.yaml b/docs/sample_config.yaml
index fc970986c6..98ead7dc0e 100644
--- a/docs/sample_config.yaml
+++ b/docs/sample_config.yaml
@@ -253,6 +253,18 @@ listeners:
   #  bind_addresses: ['::1', '127.0.0.1']
   #  type: manhole
 
+# Forward extremities can build up in a room due to networking delays between
+# homeservers. Once this happens in a large room, calculation of the state of
+# that room can become quite expensive. To mitigate this, once the number of
+# forward extremities reaches a given threshold, Synapse will send an
+# org.matrix.dummy_event event, which will reduce the forward extremities
+# in the room.
+#
+# This setting defines the threshold (i.e. number of forward extremities in the
+# room) at which dummy events are sent. The default value is 10.
+#
+#dummy_events_threshold: 5
+
 
 ## Homeserver blocking ##