Skip to content

Commit 0b27169

Browse files
authored
session thread for cleanup (#73)
* session thread for cleanup * Submodule merge
1 parent 42edf3c commit 0b27169

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

app.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
)
1414
from submodules.model.business_objects import general
1515
from submodules.model import enums
16+
from submodules.model import session
1617

1718
app = FastAPI()
1819

@@ -133,3 +134,8 @@ def healthcheck() -> responses.PlainTextResponse:
133134
if not text:
134135
text = "OK"
135136
return responses.PlainTextResponse(text, status_code=status_code)
137+
138+
139+
140+
141+
session.start_session_cleanup_thread()

0 commit comments

Comments
 (0)