summary refs log tree commit diff
path: root/docker/complement
diff options
context:
space:
mode:
authorkegsay <7190048+kegsay@users.noreply.github.com>2024-02-20 17:14:50 +0000
committerGitHub <noreply@github.com>2024-02-20 17:14:50 +0000
commit0c55c76da807c8ca0c37b7394594d3757ffab8a6 (patch)
tree1f956e06ffb5caa3fce3a7542931fd81d6183ecd /docker/complement
parentMerge branch 'release-v1.102' into develop (diff)
downloadsynapse-0c55c76da807c8ca0c37b7394594d3757ffab8a6.tar.xz
Better complement docs (#16946)
Diffstat (limited to 'docker/complement')
-rw-r--r--docker/complement/README.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/docker/complement/README.md b/docker/complement/README.md
index 62682219e8..1ce8412818 100644
--- a/docker/complement/README.md
+++ b/docker/complement/README.md
@@ -30,3 +30,14 @@ Consult `scripts-dev/complement.sh` in the repository root for a real example.
 
 [complement]: https://github.com/matrix-org/complement
 [complementEnv]: https://github.com/matrix-org/complement/pull/382
+
+## How to modify homeserver.yaml for Complement tests
+
+It's common for MSCs to be gated behind a feature flag like this:
+```yaml
+experimental_features:
+  faster_joins: true
+```
+To modify this for the Complement image, modify `./conf/workers-shared-extra.yaml.j2`. Despite the name,
+this will affect non-worker mode as well. Remember to _rebuild_ the image (so don't use `-e` if using
+`complement.sh`).