parent
0b5645a151
commit
204c1e89d6
|
@ -156,9 +156,9 @@ def mqtt_publisher():
|
||||||
sys.exit()
|
sys.exit()
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
tube_index_updater_thread = Process(target=update_tube_index)
|
|
||||||
tube_index_updater_thread.start()
|
|
||||||
flask_thread = Process(target=flask_api)
|
flask_thread = Process(target=flask_api)
|
||||||
flask_thread.start()
|
flask_thread.start()
|
||||||
publisher_thread = Process(target=mqtt_publisher)
|
publisher_thread = Process(target=mqtt_publisher)
|
||||||
publisher_thread.start()
|
publisher_thread.start()
|
||||||
|
tube_index_updater_thread = Process(target=update_tube_index)
|
||||||
|
tube_index_updater_thread.start()
|
||||||
|
|
Loading…
Reference in New Issue