Lower the timeout
This commit is contained in:
parent
ec26fb4849
commit
7279b66dc2
|
@ -232,7 +232,7 @@ class VMInstance:
|
||||||
#
|
#
|
||||||
def manage_vm_state(self):
|
def manage_vm_state(self):
|
||||||
# Just a short delay to avoid race conditions
|
# Just a short delay to avoid race conditions
|
||||||
time.sleep(0.5)
|
time.sleep(0.1)
|
||||||
|
|
||||||
# Get the current values from zookeeper
|
# Get the current values from zookeeper
|
||||||
self.state = self.zk.get('/domains/{}/state'.format(self.domuuid))[0].decode('ascii')
|
self.state = self.zk.get('/domains/{}/state'.format(self.domuuid))[0].decode('ascii')
|
||||||
|
|
Loading…
Reference in New Issue