Lower sleep time during daemon start
This commit is contained in:
parent
b36cb9597d
commit
f721e1c3d1
2
pvcd.py
2
pvcd.py
|
@ -80,7 +80,7 @@ def updatenodes(new_node_list):
|
||||||
t_node[node] = NodeInstance.NodeInstance(node, node_list, zk);
|
t_node[node] = NodeInstance.NodeInstance(node, node_list, zk);
|
||||||
if node == myhostname:
|
if node == myhostname:
|
||||||
t_node[node].start()
|
t_node[node].start()
|
||||||
time.sleep(0.5)
|
time.sleep(0.2)
|
||||||
|
|
||||||
@zk.ChildrenWatch('/domains')
|
@zk.ChildrenWatch('/domains')
|
||||||
def updatedomains(new_domain_list):
|
def updatedomains(new_domain_list):
|
||||||
|
|
Loading…
Reference in New Issue