mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 18:35:44 +03:00
Keep polling for alloc stats when a request fails
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user