From 398cbc337dc281ddf02b2012d695336e0b28d166 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Fri, 16 Feb 2024 18:45:24 +0100 Subject: [PATCH] multithreading test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- server/app.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/server/app.py b/server/app.py index aa19dd2..e037e7e 100644 --- a/server/app.py +++ b/server/app.py @@ -142,8 +142,5 @@ def start_mqtt_publishers(): if __name__ == "__main__": flask_thread = threading.Thread(target=flask_api()) flask_thread.start() - flask_thread.join() publisher_thread = threading.Thread(target=start_mqtt_publishers()) publisher_thread.start() - publisher_thread.join() -