Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 3950ae5

Browse files
authored
Ensure that remove_pusher is always async (#7981)
1 parent a53e016 commit 3950ae5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

changelog.d/7981.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Convert various parts of the codebase to async/await.

synapse/app/generic_worker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -628,7 +628,7 @@ def start_listening(self, listeners: Iterable[ListenerConfig]):
628628

629629
self.get_tcp_replication().start_replication(self)
630630

631-
def remove_pusher(self, app_id, push_key, user_id):
631+
async def remove_pusher(self, app_id, push_key, user_id):
632632
self.get_tcp_replication().send_remove_pusher(app_id, push_key, user_id)
633633

634634
def build_replication_data_handler(self):

0 commit comments

Comments
 (0)