summary refs log tree commit diff
diff options
context:
space:
mode:
authorNeil Johnson <neil@matrix.org>2019-09-25 17:27:35 +0100
committerRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2019-09-25 17:27:35 +0100
commita4f3ca48b5250a1c2c4de8a363f69bbeb0adeefd (patch)
treea8c14459721bdd1bb06b19c66d277bf435d3d9e4
parentThreepid validity checks on msisdns should not be dependent on 'threepid_beha... (diff)
downloadsynapse-a4f3ca48b5250a1c2c4de8a363f69bbeb0adeefd.tar.xz
Enable cleaning up extremities with dummy events by default to prevent undue build up of forward extremities. (#5884)
-rw-r--r--changelog.d/5884.feature1
-rw-r--r--synapse/config/server.py4
2 files changed, 2 insertions, 3 deletions
diff --git a/changelog.d/5884.feature b/changelog.d/5884.feature
new file mode 100644
index 0000000000..bfd0489392
--- /dev/null
+++ b/changelog.d/5884.feature
@@ -0,0 +1 @@
+Enable cleaning up extremities with dummy events by default to prevent undue build up of forward extremities.
diff --git a/synapse/config/server.py b/synapse/config/server.py
index 419787a89c..3a7a49bc91 100644
--- a/synapse/config/server.py
+++ b/synapse/config/server.py
@@ -355,10 +355,8 @@ class ServerConfig(Config):
 
         _check_resource_config(self.listeners)
 
-        # An experimental option to try and periodically clean up extremities
-        # by sending dummy events.
         self.cleanup_extremities_with_dummy_events = config.get(
-            "cleanup_extremities_with_dummy_events", False
+            "cleanup_extremities_with_dummy_events", True
         )
 
     def has_tls_listener(self):