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()