mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-09-09 14:22:02 +00: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
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 New Issue
Block a user