Skip to content
This repository has been archived by the owner on Feb 25, 2023. It is now read-only.

Commit

Permalink
aquarium: log shutdown event
Browse files Browse the repository at this point in the history
Signed-off-by: Joao Eduardo Luis <joao@suse.com>
  • Loading branch information
jecluis committed Apr 12, 2021
1 parent 44d0224 commit 9cc8749
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/aquarium.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ async def on_startup():

@app.on_event("shutdown") # type: ignore
async def on_shutdown():
logger.info("Aquarium shutdown!")
await gstate.shutdown()
await mgr.shutdown()

Expand Down

0 comments on commit 9cc8749

Please sign in to comment.