mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-01 18:03:59 +00:00
increased timeout for waiting for TracTrac tracked race from 30s to 60s (again)
This commit is contained in:
1 parent
89806485af
commit
4ac4e4ec92
2 files changed
+3
-3
No files matched your search
@@ -33,11 +33,11 @@ import com.sap.sailing.domain.common.RegattaAndRaceIdentifier;
|
||||
*/
|
||||
public interface RaceTracker {
|
||||
/**
|
||||
* By default, wait half a minute for race data; sometimes, a tracking provider's server may be under heavy load and
|
||||
* By default, wait one minute for race data; sometimes, a tracking provider's server may be under heavy load and
|
||||
* may serve races one after another. If many races are requested concurrently, this can lead to a queue
|
||||
* of several minutes length.
|
||||
*/
|
||||
static long TIMEOUT_FOR_RECEIVING_RACE_DEFINITION_IN_MILLISECONDS = 30000;
|
||||
static long TIMEOUT_FOR_RECEIVING_RACE_DEFINITION_IN_MILLISECONDS = 60000;
|
||||
|
||||
/**
|
||||
* Stops tracking the races.
|
||||
|
||||
+1
-1
@@ -73,7 +73,7 @@ public class TrackRaceReplicationTest extends AbstractServerReplicationTest {
|
||||
}
|
||||
});
|
||||
trackingParams = com.sap.sailing.domain.tractracadapter.DomainFactory.INSTANCE.createTrackingConnectivityParameters(paramURL,
|
||||
liveURI, storedURI, startOfTracking, endOfTracking, /* delayToLiveInMillis */
|
||||
liveURI, storedURI, startOfTracking, endOfTracking, /* delayToLiveInMillis */
|
||||
0l, /* simulateWithStartTimeNow */false, EmptyWindStore.INSTANCE);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user