From 8581c98e2095d92203e2cc7f36d0c1a574bb39de Mon Sep 17 00:00:00 2001 From: JWittmeyer Date: Wed, 16 Oct 2024 13:35:09 +0200 Subject: [PATCH 1/2] session thread for cleanup --- app.py | 3 +++ submodules/model | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app.py b/app.py index f52145b..bd8da00 100644 --- a/app.py +++ b/app.py @@ -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() @@ -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() \ No newline at end of file diff --git a/submodules/model b/submodules/model index 454a0e8..5b54d84 160000 --- a/submodules/model +++ b/submodules/model @@ -1 +1 @@ -Subproject commit 454a0e84f7b6f9d81ae3ddd8908e6ac36afec992 +Subproject commit 5b54d8492a5780525bfcf6778facf344d0ce0705 From c258383c488491782e1d2bd2c8e874e0038abe7a Mon Sep 17 00:00:00 2001 From: JWittmeyer Date: Wed, 16 Oct 2024 14:25:39 +0200 Subject: [PATCH 2/2] Submodule merge --- submodules/model | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submodules/model b/submodules/model index 5b54d84..3af110d 160000 --- a/submodules/model +++ b/submodules/model @@ -1 +1 @@ -Subproject commit 5b54d8492a5780525bfcf6778facf344d0ce0705 +Subproject commit 3af110d28d90152c62b40d6676bec40ae50fc132