SEBSERV-146 fixed
This commit is contained in:
parent
e0ba0a9277
commit
ff6e38d97f
1 changed files with 3 additions and 3 deletions
|
@ -296,12 +296,12 @@ public final class ClientConnectionTable {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void updateValues() {
|
public void updateValues() {
|
||||||
if (this.statusFilterChanged) {
|
if (this.statusFilterChanged || this.forceUpdateAll) {
|
||||||
this.toDelete.clear();
|
this.toDelete.clear();
|
||||||
this.toDelete.addAll(this.tableMapping.keySet());
|
this.toDelete.addAll(this.tableMapping.keySet());
|
||||||
}
|
}
|
||||||
this.restCallBuilder
|
this.restCallBuilder
|
||||||
.withHeader(API.EXAM_MONITORING_STATE_FILTER, (this.forceUpdateAll) ? "" : this.statusFilterParam)
|
.withHeader(API.EXAM_MONITORING_STATE_FILTER, this.statusFilterParam)
|
||||||
.call()
|
.call()
|
||||||
.get(error -> {
|
.get(error -> {
|
||||||
log.error("Error poll connection data: ", error);
|
log.error("Error poll connection data: ", error);
|
||||||
|
@ -312,7 +312,7 @@ public final class ClientConnectionTable {
|
||||||
data.getConnectionId(),
|
data.getConnectionId(),
|
||||||
UpdatableTableItem::new);
|
UpdatableTableItem::new);
|
||||||
tableItem.push(data);
|
tableItem.push(data);
|
||||||
if (this.statusFilterChanged) {
|
if (this.statusFilterChanged || this.forceUpdateAll) {
|
||||||
this.toDelete.remove(data.getConnectionId());
|
this.toDelete.remove(data.getConnectionId());
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue