in TrackedRaceImpl.isLive(), consider delay to live in addition to grace time

Change-Id: Ib81ce0e95bf3eefc7069e99e30ea2e7876244031
This commit is contained in:
Axel Uhl committed 2016-07-15 16:17:37 +02:00
1 parent 2ecc1c0ed7
commit 939c86addf
1 file changed
+1 -1
@@ -1101,7 +1101,7 @@ public abstract class TrackedRaceImpl extends TrackedRaceWithWindEssentials impl
if (getEndOfRace() == null) {
if (getTimePointOfNewestEvent() != null) {
endOfLivePeriod = getTimePointOfNewestEvent().plus(
TimingConstants.IS_LIVE_GRACE_PERIOD_IN_MILLIS);
TimingConstants.IS_LIVE_GRACE_PERIOD_IN_MILLIS).plus(getDelayToLiveInMillis());
} else {
endOfLivePeriod = null;
}