summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2020-08-06 08:20:42 -0400
committerGitHub <noreply@github.com>2020-08-06 08:20:42 -0400
commitc36228c40340f521ad52591ac3eab14946db4be2 (patch)
treef1e8084a2d189017a344ad34a95c5f967044916a /synapse/handlers
parentImprove performance of the register endpoint (#8009) (diff)
downloadsynapse-c36228c40340f521ad52591ac3eab14946db4be2.tar.xz
Convert run_as_background_process inner function to async. (#8032)
Diffstat (limited to 'synapse/handlers')
-rw-r--r--synapse/handlers/appservice.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/appservice.py b/synapse/handlers/appservice.py
index fbc56c351b..c9044a5019 100644
--- a/synapse/handlers/appservice.py
+++ b/synapse/handlers/appservice.py
@@ -101,7 +101,7 @@ class ApplicationServicesHandler(object):
 
                             async def start_scheduler():
                                 try:
-                                    return self.scheduler.start()
+                                    return await self.scheduler.start()
                                 except Exception:
                                     logger.error("Application Services Failure")