瀏覽代碼

Enable cleaning up extremities with dummy events by default to prevent undue build up of forward extremities. (#5884)

Neil Johnson 5 年之前
父節點
當前提交
a4f3ca48b5
共有 2 個文件被更改,包括 2 次插入3 次删除
  1. 1 0
      changelog.d/5884.feature
  2. 1 3
      synapse/config/server.py

+ 1 - 0
changelog.d/5884.feature

@@ -0,0 +1 @@
+Enable cleaning up extremities with dummy events by default to prevent undue build up of forward extremities.

+ 1 - 3
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):