Skip to content

Commit

Permalink
session thread for cleanup (#124)
Browse files Browse the repository at this point in the history
* session thread for cleanup

* Submodule merge
  • Loading branch information
JWittmeyer authored Oct 16, 2024
1 parent c40c7a0 commit 3606ce4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

from submodules.model.business_objects import general
from util import request_util, config_handler
from submodules.model import session

app = FastAPI()

Expand Down Expand Up @@ -202,3 +203,5 @@ 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 3606ce4

Please sign in to comment.