Skip to content

Commit

Permalink
remove shutdown connection close
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrOertlin committed Apr 9, 2024
1 parent 7e1432e commit bc7ba96
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions genotype_api/api/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,3 @@ def welcome():
def on_startup():
initialise_database(settings.db_uri)
create_all_tables()


@app.on_event("shutdown")
async def on_shutdown():
close_session()

0 comments on commit bc7ba96

Please sign in to comment.