diff options
author | Neil Johnson <neil@fragile.org.uk> | 2018-04-11 10:59:00 +0100 |
---|---|---|
committer | Neil Johnson <neil@fragile.org.uk> | 2018-04-11 10:59:00 +0100 |
commit | 427e6c4059e2eff5eacf114dc6708e2972ca36d2 (patch) | |
tree | 608df478fe94531db9a789e3c8d1e827a34d8302 /synapse/app/federation_sender.py | |
parent | Update README.rst (diff) | |
parent | bump version/changelog (diff) | |
download | synapse-427e6c4059e2eff5eacf114dc6708e2972ca36d2.tar.xz |
Merge branch 'release-v0.27.0' of https://github.com/matrix-org/synapse v0.27.3
Diffstat (limited to 'synapse/app/federation_sender.py')
-rw-r--r-- | synapse/app/federation_sender.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/app/federation_sender.py b/synapse/app/federation_sender.py index f760826d27..0cc3331519 100644 --- a/synapse/app/federation_sender.py +++ b/synapse/app/federation_sender.py @@ -42,7 +42,7 @@ from synapse.util.logcontext import LoggingContext, preserve_fn from synapse.util.manhole import manhole from synapse.util.versionstring import get_version_string from twisted.internet import defer, reactor -from twisted.web.resource import Resource +from twisted.web.resource import NoResource logger = logging.getLogger("synapse.app.federation_sender") @@ -91,7 +91,7 @@ class FederationSenderServer(HomeServer): if name == "metrics": resources[METRICS_PREFIX] = MetricsResource(self) - root_resource = create_resource_tree(resources, Resource()) + root_resource = create_resource_tree(resources, NoResource()) _base.listen_tcp( bind_addresses, |