summary refs log tree commit diff
path: root/synapse/config
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 /synapse/config
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)
Diffstat (limited to 'synapse/config')
-rw-r--r--synapse/config/server.py4
1 files changed, 1 insertions, 3 deletions
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):