mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-22 21:55:39 +00:00
fix for bug 1151: use end of race instead of end of tracking, and end of tracking only as a default
This commit is contained in:
+5
-1
@@ -698,7 +698,11 @@ public class SailingServiceImpl extends ProxiedRemoteServiceServlet implements S
|
||||
raceDetails = new FutureTask<RaceDetails>(new Callable<RaceDetails>() {
|
||||
@Override
|
||||
public RaceDetails call() throws Exception {
|
||||
return calculateRaceDetails(trackedRace, competitor, trackedRace.getEndOfTracking(),
|
||||
TimePoint end = trackedRace.getEndOfRace();
|
||||
if (end == null) {
|
||||
end = trackedRace.getEndOfTracking();
|
||||
}
|
||||
return calculateRaceDetails(trackedRace, competitor, end,
|
||||
/* waitForLatestManeuverAnalysis */ true /* because this is done only once after end of tracking */, legRanksCache);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user