mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-06 19:12:23 +00:00
reduced timeout for waiting for race from 5min to 30s
This commit is contained in:
1 parent
5bc98d749c
commit
a5fde4f8f8
1 file changed
+2
-2
@@ -33,11 +33,11 @@ import com.sap.sailing.domain.common.RegattaAndRaceIdentifier;
|
||||
*/
|
||||
public interface RaceTracker {
|
||||
/**
|
||||
* By default, wait five minutes for race data; sometimes, a tracking provider's server may be under heavy load and
|
||||
* By default, wait half a 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 = 300000;
|
||||
static long TIMEOUT_FOR_RECEIVING_RACE_DEFINITION_IN_MILLISECONDS = 30000;
|
||||
|
||||
/**
|
||||
* Stops tracking the races.
|
||||
|
||||
Reference in new issue
Block a user