diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2020-07-30 06:56:55 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-30 06:56:55 -0400 |
commit | 3950ae51ef3e7d0bdbe5002dbe8ef5c35a9e8eea (patch) | |
tree | 3e75c5de7b32318f01495484db2f4f2d2303e335 | |
parent | Ensure the msg property of HttpResponseException is a string. (#7979) (diff) | |
download | synapse-3950ae51ef3e7d0bdbe5002dbe8ef5c35a9e8eea.tar.xz |
Ensure that remove_pusher is always async (#7981)
-rw-r--r-- | changelog.d/7981.misc | 1 | ||||
-rw-r--r-- | synapse/app/generic_worker.py | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/changelog.d/7981.misc b/changelog.d/7981.misc new file mode 100644 index 0000000000..dfe4c03171 --- /dev/null +++ b/changelog.d/7981.misc @@ -0,0 +1 @@ +Convert various parts of the codebase to async/await. diff --git a/synapse/app/generic_worker.py b/synapse/app/generic_worker.py index ec0dbddb8c..6e8130351c 100644 --- a/synapse/app/generic_worker.py +++ b/synapse/app/generic_worker.py @@ -628,7 +628,7 @@ class GenericWorkerServer(HomeServer): self.get_tcp_replication().start_replication(self) - def remove_pusher(self, app_id, push_key, user_id): + async def remove_pusher(self, app_id, push_key, user_id): self.get_tcp_replication().send_remove_pusher(app_id, push_key, user_id) def build_replication_data_handler(self): |