Skip to content

Commit

Permalink
session thread for cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
JWittmeyer committed Oct 16, 2024
1 parent 42edf3c commit d8b0b44
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
)
from submodules.model.business_objects import general
from submodules.model import enums
from submodules.model import session

app = FastAPI()

Expand Down Expand Up @@ -133,3 +134,8 @@ def healthcheck() -> responses.PlainTextResponse:
if not text:
text = "OK"
return responses.PlainTextResponse(text, status_code=status_code)




session.start_session_cleanup_thread()

0 comments on commit d8b0b44

Please sign in to comment.