diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2021-03-26 17:33:55 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-26 17:33:55 +0000 |
commit | 7c8402ddb88df09cf1a33b3925c2996926fd0a23 (patch) | |
tree | 07277f2a6392d9759f09966549885caeb9d80749 /synapse/app/homeserver.py | |
parent | Make it possible to use dmypy (#9692) (diff) | |
download | synapse-7c8402ddb88df09cf1a33b3925c2996926fd0a23.tar.xz |
Suppress CryptographyDeprecationWarning (#9698)
This warning is somewhat confusing to users, so let's suppress it
Diffstat (limited to 'synapse/app/homeserver.py')
-rw-r--r-- | synapse/app/homeserver.py | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/synapse/app/homeserver.py b/synapse/app/homeserver.py index 244657cb88..3bfe9d507f 100644 --- a/synapse/app/homeserver.py +++ b/synapse/app/homeserver.py @@ -67,7 +67,6 @@ from synapse.storage import DataStore from synapse.storage.engines import IncorrectDatabaseSetup from synapse.storage.prepare_database import UpgradeDatabaseException from synapse.util.httpresourcetree import create_resource_tree -from synapse.util.manhole import manhole from synapse.util.module_loader import load_module from synapse.util.versionstring import get_version_string @@ -288,12 +287,8 @@ class SynapseHomeServer(HomeServer): if listener.type == "http": self._listening_services.extend(self._listener_http(config, listener)) elif listener.type == "manhole": - listen_tcp( - listener.bind_addresses, - listener.port, - manhole( - username="matrix", password="rabbithole", globals={"hs": self} - ), + _base.listen_manhole( + listener.bind_addresses, listener.port, manhole_globals={"hs": self} ) elif listener.type == "replication": services = listen_tcp( |