Add healthcheck

This commit is contained in:
2022-02-04 12:53:44 +03:00
parent 924e5738a1
commit 9251b47cbf
3 changed files with 17 additions and 0 deletions

View File

@@ -108,3 +108,8 @@ async def update_cache(request: Request):
await arq_pool.enqueue_job("check_books")
return "Ok!"
@router.get("/healthcheck")
async def healthcheck():
return "Ok!"