fixed monitoring update delay for indicators?

This commit is contained in:
anhefti 2023-05-31 13:08:05 +02:00
parent e0708a2be1
commit b7c8f3c1d4

View file

@ -510,12 +510,12 @@ public final class ClientConnectionTable implements FullPageMonitoringGUIUpdate
private void update(final TableItem tableItem, final boolean force) { private void update(final TableItem tableItem, final boolean force) {
updateDuplicateColor(tableItem); updateDuplicateColor(tableItem);
//if (force || this.dataChanged) { if (force || this.dataChanged) {
updateData(tableItem); updateData(tableItem);
//} }
//if (force || this.indicatorValueChanged) { if (force || this.indicatorValueChanged) {
updateIndicatorValues(tableItem); updateIndicatorValues(tableItem);
//} }
this.dataChanged = false; this.dataChanged = false;
this.indicatorValueChanged = false; this.indicatorValueChanged = false;
} }
@ -724,10 +724,12 @@ public final class ClientConnectionTable implements FullPageMonitoringGUIUpdate
this.indicatorWeights[i] = -1; this.indicatorWeights[i] = -1;
} }
} }
this.monitoringData = monitoringData;
if (this.indicatorValueChanged) { if (this.indicatorValueChanged) {
updateIndicatorWeight(); updateIndicatorWeight();
} }
this.monitoringData = monitoringData;
return this.staticData == null return this.staticData == null
|| this.staticData == ClientStaticData.NULL_DATA || this.staticData == ClientStaticData.NULL_DATA