Lower the timeout

This commit is contained in:
Joshua Boniface 2018-06-11 18:59:45 -04:00
parent ec26fb4849
commit 7279b66dc2
1 changed files with 1 additions and 1 deletions

View File

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