mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-16 15:01:23 +01:00
Enable cleaning up extremities with dummy events by default to prevent undue build up of forward extremities. (#5884)
This commit is contained in:
parent
77dc7093a7
commit
a4f3ca48b5
2 changed files with 2 additions and 3 deletions
1
changelog.d/5884.feature
Normal file
1
changelog.d/5884.feature
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Enable cleaning up extremities with dummy events by default to prevent undue build up of forward extremities.
|
|
@ -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):
|
||||||
|
|
Loading…
Reference in a new issue