diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2020-08-06 08:20:42 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-06 08:20:42 -0400 |
commit | c36228c40340f521ad52591ac3eab14946db4be2 (patch) | |
tree | f1e8084a2d189017a344ad34a95c5f967044916a /synapse/handlers/appservice.py | |
parent | Improve performance of the register endpoint (#8009) (diff) | |
download | synapse-c36228c40340f521ad52591ac3eab14946db4be2.tar.xz |
Convert run_as_background_process inner function to async. (#8032)
Diffstat (limited to 'synapse/handlers/appservice.py')
-rw-r--r-- | synapse/handlers/appservice.py | 2 |
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") |