diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/session/impl/indicator/PingIntervalClientIndicator.java b/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/session/impl/indicator/PingIntervalClientIndicator.java index 376dd618..ca5df354 100644 --- a/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/session/impl/indicator/PingIntervalClientIndicator.java +++ b/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/session/impl/indicator/PingIntervalClientIndicator.java @@ -87,7 +87,7 @@ public final class PingIntervalClientIndicator extends AbstractPingIndicator { final long currentTimeMillis = DateTimeUtils.currentTimeMillis(); this.currentValue = computeValueAt(currentTimeMillis); - this.lastUpdate = this.distributedPingCache.lastUpdate(); + this.lastUpdate = this.distributedIndicatorValueService.lastUpdate(); return (currentTimeMillis < this.currentValue) ? DateTimeUtils.currentTimeMillis() - this.currentValue : currentTimeMillis - this.currentValue;