diff options
author | Erik Johnston <erik@matrix.org> | 2019-06-19 13:19:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-19 13:19:18 +0100 |
commit | e0be8d70164b814688261c598947979117f0aca0 (patch) | |
tree | c1fbee26a68bdc9db3e65a3886093fbff305ffc4 /synapse/config/server.py | |
parent | Merge pull request #5490 from matrix-org/rav/xmlsec_in_docker (diff) | |
parent | Run as background process and fix comments (diff) | |
download | synapse-e0be8d70164b814688261c598947979117f0aca0.tar.xz |
Merge pull request #5480 from matrix-org/erikj/extremities_dummy_events
Add experimental option to reduce extremities.
Diffstat (limited to 'synapse/config/server.py')
-rw-r--r-- | synapse/config/server.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/synapse/config/server.py b/synapse/config/server.py index 7d56e2d141..6e5b46e6c3 100644 --- a/synapse/config/server.py +++ b/synapse/config/server.py @@ -317,6 +317,12 @@ class ServerConfig(Config): _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, + ) + def has_tls_listener(self): return any(l["tls"] for l in self.listeners) |