mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-04 14:54:56 -04:00
Convert run_as_background_process inner function to async. (#8032)
This commit is contained in:
parent
66f24449dd
commit
c36228c403
4 changed files with 16 additions and 26 deletions
|
@ -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")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue