parent
b2c8dc5d83
commit
b2b958018e
|
@ -153,7 +153,7 @@ def tube_index_updater(data_queue):
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
data_queue = Queue()
|
data_queue = Queue()
|
||||||
ti_updater_thread = Process(target=tube_index_updater(), args=(data_queue, ))
|
ti_updater_thread = Process(target=tube_index_updater, args=(data_queue, ))
|
||||||
ti_updater_thread.start()
|
ti_updater_thread.start()
|
||||||
publisher_thread = Process(target=mqtt_publisher, args=(data_queue, ))
|
publisher_thread = Process(target=mqtt_publisher, args=(data_queue, ))
|
||||||
publisher_thread.start()
|
publisher_thread.start()
|
||||||
|
|
Loading…
Reference in New Issue