Browse Source

Don't update unless the datahas changed, otherwise there will be performance problems when the data is large

pull/1711/head
HollyFang 7 years ago
parent
commit
97989d969c
  1. 4
      ui/src/app/api/subscription.js

4
ui/src/app/api/subscription.js

@ -674,6 +674,10 @@ export default class Subscription {
}
}
}
else if(angular.toJson(currentData.data)==angular.toJson(sourceData.data)){
update = false;
}
if (update) {
if (this.subscriptionTimewindow && this.subscriptionTimewindow.realtimeWindowMs) {
this.updateTimewindow();

Loading…
Cancel
Save