Start all threads
This commit is contained in:
parent
963d582c24
commit
164d9739de
5
pvcd.py
5
pvcd.py
|
@ -78,9 +78,8 @@ def updatenodes(new_node_list):
|
|||
t_node[node].updatenodelist(node_list)
|
||||
else:
|
||||
t_node[node] = NodeInstance.NodeInstance(node, node_list, zk);
|
||||
if node == myhostname:
|
||||
t_node[node].start()
|
||||
time.sleep(0.5)
|
||||
t_node[node].start()
|
||||
time.sleep(0.1)
|
||||
|
||||
node_state = t_node[node].getstate()
|
||||
print(node_state)
|
||||
|
|
Loading…
Reference in New Issue