Merge branch 'dev-1.3' into development

This commit is contained in:
anhefti 2022-03-24 16:50:04 +01:00
parent fec8c4868a
commit e6321730b5

View file

@ -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;