added 5 sec sleeper before startin publisher

Signed-off-by: Ebbe Baß <ebbe.bass>
main
Ebbe Baß 2024-02-18 16:32:17 +01:00
parent 33d4441b30
commit cb138dbbd9
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ if __name__ == "__main__":
(ti_receiver,ti_sender) = Pipe(True)
ti_updater_thread = Process(target=tube_index_updater, args=(ti_sender, ))
ti_updater_thread.start()
time.sleep(1)
time.sleep(5)
publisher_thread = Process(target=mqtt_publisher, args=(ti_receiver, ))
publisher_thread.start()
flask_thread = Process(target=flask_api)