reduced timeout for waiting for race from 5min to 30s

This commit is contained in:
Axel Uhl committed 2012-06-19 10:55:03 +02:00
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.