Keep polling for alloc stats when a request fails

This commit is contained in:
Michael Lange
2018-04-20 16:50:54 -07:00
parent 443c1f3f3f
commit 71a4411b22

View File

@@ -70,9 +70,9 @@ export default Component.extend({
try {
const stats = yield allocation.fetchStats();
this.set('stats', stats);
this.set('statsError', false);
} catch (error) {
this.set('statsError', true);
break;
}
yield timeout(backoffSequence.shift() || maxTiming);
} while (!Ember.testing);