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

This commit is contained in:
Neil Johnson 2019-09-25 17:27:35 +01:00 committed by Richard van der Hoff
parent 77dc7093a7
commit a4f3ca48b5
2 changed files with 2 additions and 3 deletions

1
changelog.d/5884.feature Normal file
View File

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

View File

@ -355,10 +355,8 @@ class ServerConfig(Config):
_check_resource_config(self.listeners) _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( 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): def has_tls_listener(self):