Skip to content

Commit

Permalink
chore(backend): rm alert for startup and shutdown from lifespan
Browse files Browse the repository at this point in the history
  • Loading branch information
haxgun committed Dec 3, 2024
1 parent 558c774 commit 8b0ef75
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions backend/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,8 @@
@asynccontextmanager
async def lifespan(app: FastAPI):
await init_db()
print("⚠ Application startup complete.")

yield

print("⚠ Application shutdown complete.")


app = FastAPI(
title=settings.PROJECT_NAME,
version=settings.VERSION,
Expand Down

0 comments on commit 8b0ef75

Please sign in to comment.