Skip to content

Commit 3606ce4

Browse files
authored
session thread for cleanup (#124)
* session thread for cleanup * Submodule merge
1 parent c40c7a0 commit 3606ce4

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

app.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
from submodules.model.business_objects import general
99
from util import request_util, config_handler
10+
from submodules.model import session
1011

1112
app = FastAPI()
1213

@@ -202,3 +203,5 @@ def healthcheck() -> responses.PlainTextResponse:
202203
if not text:
203204
text = "OK"
204205
return responses.PlainTextResponse(text, status_code=status_code)
206+
207+
session.start_session_cleanup_thread()

0 commit comments

Comments
 (0)