summary refs log tree commit diff
path: root/docs
diff options
context:
space:
mode:
authorAmber Brown <hawkowl@atleastfornow.net>2019-05-20 17:01:50 -0500
committerGitHub <noreply@github.com>2019-05-20 17:01:50 -0500
commitc99c1051589a8370ae955bc21695343f87d6b8c1 (patch)
treebb9201cc2d9649bb3f2bc497fa503ed1fd6eba9e /docs
parentMerge remote-tracking branch 'origin/develop' into shhs (diff)
downloadsynapse-c99c1051589a8370ae955bc21695343f87d6b8c1.tar.xz
SHHS - Room Join Complexity (#5072)
Diffstat (limited to 'docs')
-rw-r--r--docs/sample_config.yaml11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/sample_config.yaml b/docs/sample_config.yaml
index d218aefee5..3388a2d513 100644
--- a/docs/sample_config.yaml
+++ b/docs/sample_config.yaml
@@ -271,6 +271,17 @@ listeners:
 # Used by phonehome stats to group together related servers.
 #server_context: context
 
+# Resource-constrained Homeserver Settings
+#
+# If limit_large_remote_room_joins is True, the room complexity will be
+# checked before a user joins a new remote room. If it is above
+# limit_large_remote_room_complexity, it will disallow joining or
+# instantly leave.
+#
+# Uncomment the below lines to enable:
+#limit_large_remote_room_joins: True
+#limit_large_remote_room_complexity: 1.0
+
 # Whether to require a user to be in the room to add an alias to it.
 # Defaults to 'true'.
 #