diff options
author | Erik Johnston <erikj@jki.re> | 2017-04-12 10:21:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-12 10:21:42 +0100 |
commit | bf9060156a18a747adb23589d124370d378d38a0 (patch) | |
tree | dcab6af4131b8c3a61620225bb537cb594ed815c /synapse/app/homeserver.py | |
parent | Merge pull request #2118 from matrix-org/erikj/no_devices (diff) | |
parent | Remove last reference to worker_replication_url (diff) | |
download | synapse-bf9060156a18a747adb23589d124370d378d38a0.tar.xz |
Merge pull request #2117 from matrix-org/erikj/remove_http_replication
Remove HTTP replication APIs
Diffstat (limited to 'synapse/app/homeserver.py')
-rwxr-xr-x | synapse/app/homeserver.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/synapse/app/homeserver.py b/synapse/app/homeserver.py index 990eb477e5..6f5924d2c7 100755 --- a/synapse/app/homeserver.py +++ b/synapse/app/homeserver.py @@ -55,7 +55,6 @@ from synapse.crypto import context_factory from synapse.util.logcontext import LoggingContext, PreserveLoggingContext from synapse.metrics import register_memory_metrics, get_metrics_for from synapse.metrics.resource import MetricsResource, METRICS_PREFIX -from synapse.replication.resource import ReplicationResource, REPLICATION_PREFIX from synapse.replication.tcp.resource import ReplicationStreamProtocolFactory from synapse.federation.transport.server import TransportLayerServer @@ -167,9 +166,6 @@ class SynapseHomeServer(HomeServer): if name == "metrics" and self.get_config().enable_metrics: resources[METRICS_PREFIX] = MetricsResource(self) - if name == "replication": - resources[REPLICATION_PREFIX] = ReplicationResource(self) - if WEB_CLIENT_PREFIX in resources: root_resource = RootRedirect(WEB_CLIENT_PREFIX) else: |