Skip to content

Commit

Permalink
Merge pull request dcos#2851 from dcos/orlandohohmeier/master/fix/DCO…
Browse files Browse the repository at this point in the history
…S-21784-adjust-the-mesos-stream-data-handling-to-mitigate-upstream-error-propagation

fix(MesosStateStore): adjust stream data handling
  • Loading branch information
Philipp Hinrichsen authored Mar 26, 2018
2 parents 912b7da + 806e4db commit 3bcfdf4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/js/stores/MesosStateStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class MesosStateStore extends GetSetBaseStore {
this.on(eventName, callback);

if (this.shouldSubscribe()) {
this.subscribe();
Promise.resolve().then(() => this.subscribe());
}
}

Expand Down Expand Up @@ -99,7 +99,8 @@ class MesosStateStore extends GetSetBaseStore {
// refresh limits to the UI. They are:
//
// MOST once every (Config.getRefreshRate() * 0.5) ms. due to debounceTime.
// LEAST once every tick of Config.getRefreshRate() ms in Observable.interval
// LEAST once every tick of Config.getRefreshRate() ms in
// Observable.interval
//
// TODO: https://jira.mesosphere.com/browse/DCOS-18277
this.stream = waitStream
Expand Down

0 comments on commit 3bcfdf4

Please sign in to comment.