Start all threads

This commit is contained in:
Joshua Boniface 2018-06-01 00:44:23 -04:00
parent 963d582c24
commit 164d9739de
1 changed files with 2 additions and 3 deletions

View File

@ -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)
time.sleep(0.1)
node_state = t_node[node].getstate()
print(node_state)