Add healthcheck

This commit is contained in:
2022-02-05 11:31:45 +03:00
parent f210420a46
commit 2cdf5c9ac1
3 changed files with 18 additions and 0 deletions

View File

@@ -15,3 +15,8 @@ async def update(request: Request, updater: UpdaterTypes):
await arq_pool.enqueue_job(UPDATERS[updater])
return "Ok!"
@router.get("/healthcheck")
async def healthcheck():
return "Ok!"