Increase delay between VM migrations to give the cluster more time to adjust

This commit is contained in:
Joshua Boniface 2018-06-11 19:19:21 -04:00
parent ae6c024bc9
commit f6f53296c9
1 changed files with 4 additions and 4 deletions

View File

@ -156,8 +156,8 @@ class NodeInstance():
transaction.set_data('/domains/{}/lasthypervisor'.format(dom_uuid), current_hypervisor.encode('ascii'))
result = transaction.commit()
# Wait 1s between migrations
time.sleep(1)
# Wait 2s between migrations
time.sleep(2)
self.inflush = False
@ -177,8 +177,8 @@ class NodeInstance():
transaction.set_data('/domains/{}/lasthypervisor'.format(dom_uuid), ''.encode('ascii'))
result = transaction.commit()
# Wait 1s between migrations
time.sleep(1)
# Wait 2s between migrations
time.sleep(2)
self.inflush = False