From 75b7a5bf235f1714cf22f2e7dfd8aa869627ec4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Sat, 17 Feb 2024 15:58:24 +0100 Subject: [PATCH] added sleeper MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- server/app.py | 1 + 1 file changed, 1 insertion(+) diff --git a/server/app.py b/server/app.py index 555db3a..49de2af 100644 --- a/server/app.py +++ b/server/app.py @@ -157,5 +157,6 @@ if __name__ == "__main__": tube_index_updater_thread.start() flask_thread = Process(target=flask_api) flask_thread.start() + time.sleep(1) publisher_thread = Process(target=start_mqtt_publishers, args=(result, )) publisher_thread.start()