Convert run_as_background_process inner function to async. (#8032)

This commit is contained in:
Patrick Cloke 2020-08-06 08:20:42 -04:00 committed by GitHub
parent 66f24449dd
commit c36228c403
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 16 additions and 26 deletions

View file

@ -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")