fix
This commit is contained in:
parent
164d9739de
commit
549c4ac804
2
pvcd.py
2
pvcd.py
|
@ -76,7 +76,9 @@ def updatenodes(new_node_list):
|
||||||
for node in node_list:
|
for node in node_list:
|
||||||
if node in t_node:
|
if node in t_node:
|
||||||
t_node[node].updatenodelist(node_list)
|
t_node[node].updatenodelist(node_list)
|
||||||
|
time.sleep(0.1)
|
||||||
else:
|
else:
|
||||||
|
print("starting" + node)
|
||||||
t_node[node] = NodeInstance.NodeInstance(node, node_list, zk);
|
t_node[node] = NodeInstance.NodeInstance(node, node_list, zk);
|
||||||
t_node[node].start()
|
t_node[node].start()
|
||||||
time.sleep(0.1)
|
time.sleep(0.1)
|
||||||
|
|
Loading…
Reference in New Issue