Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Enable cleaning up extremities with dummy events by default to preven…
Browse files Browse the repository at this point in the history
…t undue build up of forward extremities. (#5884)
  • Loading branch information
neilisfragile authored and richvdh committed Sep 25, 2019
1 parent 77dc709 commit a4f3ca4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions changelog.d/5884.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Enable cleaning up extremities with dummy events by default to prevent undue build up of forward extremities.
4 changes: 1 addition & 3 deletions synapse/config/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,10 +355,8 @@ class LimitRemoteRoomsConfig(object):

_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):
Expand Down

0 comments on commit a4f3ca4

Please sign in to comment.