parent
78deee4e7c
commit
5b44186386
|
@ -148,9 +148,9 @@ def mqtt_publisher(artnetUniverse):
|
|||
def start_mqtt_publishers(universe_count):
|
||||
used_universes = universe_count
|
||||
print("universe count: "+str(used_universes))
|
||||
universes_to_publish = list(range(1, used_universes + 1))
|
||||
# universes_to_publish = list(range(1, used_universes + 1))
|
||||
# Create and start a thread for each universe
|
||||
for universe in universes_to_publish:
|
||||
for universe in range(used_universes):
|
||||
threads = [threading.Thread(target=mqtt_publisher, args=(universe,))]
|
||||
|
||||
for thread in threads:
|
||||
|
|
Loading…
Reference in New Issue