Commit 97989d969c61e90ee4ef456e9d53511698a24874

Authored by HollyFang
1 parent 5d085e14

Don't update unless the datahas changed, otherwise there will be performance pro…

…blems when the data is large
... ... @@ -674,6 +674,10 @@ export default class Subscription {
674 674 }
675 675 }
676 676 }
  677 + else if(angular.toJson(currentData.data)==angular.toJson(sourceData.data)){
  678 + update = false;
  679 + }
  680 +
677 681 if (update) {
678 682 if (this.subscriptionTimewindow && this.subscriptionTimewindow.realtimeWindowMs) {
679 683 this.updateTimewindow();
... ...