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/generic_worker.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/generic_worker.py')
-rw-r--r-- | synapse/app/generic_worker.py | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/synapse/app/generic_worker.py b/synapse/app/generic_worker.py index caef394e1d..6139881dbb 100644 --- a/synapse/app/generic_worker.py +++ b/synapse/app/generic_worker.py @@ -147,7 +147,6 @@ from synapse.storage.databases.main.user_directory import UserDirectoryStore from synapse.types import ReadReceipt from synapse.util.async_helpers import Linearizer from synapse.util.httpresourcetree import create_resource_tree -from synapse.util.manhole import manhole from synapse.util.versionstring import get_version_string logger = logging.getLogger("synapse.app.generic_worker") @@ -640,12 +639,8 @@ class GenericWorkerServer(HomeServer): if listener.type == "http": self._listen_http(listener) elif listener.type == "manhole": - _base.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 == "metrics": if not self.get_config().enable_metrics: |