Add back in the wait to avoid floods on stderr
This commit is contained in:
parent
f3153a15b3
commit
48a5a44db4
|
@ -194,6 +194,7 @@ class VMInstance:
|
||||||
self.inreceive = True
|
self.inreceive = True
|
||||||
ansiiprint.echo('Receiving migration', '{}:'.format(self.domuuid), 'i')
|
ansiiprint.echo('Receiving migration', '{}:'.format(self.domuuid), 'i')
|
||||||
while True:
|
while True:
|
||||||
|
time.sleep(0.5)
|
||||||
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')
|
||||||
self.dom = self.lookupByUUID(self.domuuid)
|
self.dom = self.lookupByUUID(self.domuuid)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue