mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-24 04:53:54 +00:00
in TrackedRaceImpl.isLive(), consider delay to live in addition to grace time
Change-Id: Ib81ce0e95bf3eefc7069e99e30ea2e7876244031
This commit is contained in:
1 parent
2ecc1c0ed7
commit
939c86addf
1 file changed
+1
-1
+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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user