This commit is contained in:
Joshua Boniface 2018-06-01 00:46:36 -04:00
parent 164d9739de
commit 549c4ac804
1 changed files with 2 additions and 0 deletions

View File

@ -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)