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

Enable cleaning up extremities with dummy events #5884

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -342,10 +342,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