mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-24 04:53:54 +00:00
Merge remote-tracking branch 'server/master'
This commit is contained in:
commit
e08b6c1622
1 file changed
+5
-2
+5
-2
@@ -88,7 +88,8 @@ public class Simulator {
|
||||
for (final Map.Entry<? extends WindSource, ? extends WindTrack> windSourceAndTrack : windStore.loadWindTracks(
|
||||
trackedRace.getTrackedRegatta().getRegatta().getName(), trackedRace,
|
||||
/* millisecondsOverWhichToAverageWind doesn't matter because we only use raw fixes */ 10000).entrySet()) {
|
||||
new Thread("Wind simulator for wind source "+windSourceAndTrack.getKey()+" for tracked race "+trackedRace.getRace().getName()) {
|
||||
Thread windSimulatorThread =
|
||||
new Thread("Wind simulator for wind source "+windSourceAndTrack.getKey()+" for tracked race "+trackedRace.getRace().getName()) {
|
||||
@Override
|
||||
public void run() {
|
||||
final WindTrack windTrack = windSourceAndTrack.getValue();
|
||||
@@ -105,7 +106,9 @@ public class Simulator {
|
||||
}
|
||||
logger.info("Wind Track Simulator for race "+trackedRace.getRace().getName()+" finished. stopped="+stopped);
|
||||
}
|
||||
}.start();
|
||||
};
|
||||
windSimulatorThread.setDaemon(true);
|
||||
windSimulatorThread.start();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user