diff --git a/NodeInstance.py b/NodeInstance.py index 0a3f07bb..d389f6e1 100644 --- a/NodeInstance.py +++ b/NodeInstance.py @@ -157,9 +157,6 @@ class NodeInstance(): transaction.set_data('/domains/{}/lasthypervisor'.format(dom_uuid), current_hypervisor.encode('ascii')) transaction.commit() - # Wait 2s between migrations - time.sleep(2) - self.zk.set('/nodes/{}/domainstate'.format(self.name), 'flushed'.encode('ascii')) self.inflush = False @@ -179,9 +176,6 @@ class NodeInstance(): transaction.set_data('/domains/{}/lasthypervisor'.format(dom_uuid), ''.encode('ascii')) transaction.commit() - # Wait 2s between migrations - time.sleep(2) - self.inflush = False def update_zookeeper(self):