Skip to content

Commit 712b08a

Browse files
Setting new default time, removing access to edit it.
1 parent 874f8ea commit 712b08a

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

client/src/main/java/io/split/client/SplitClientConfig.java

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ public static final class Builder {
334334
private final int _onDemandFetchMaxRetries = 10;
335335
private final int _failedAttemptsBeforeLogging = 10;
336336
private final boolean _cdnDebugLogging = true;
337-
private long _validateAfterInactivityInMillis = 500;
337+
private long _validateAfterInactivityInMillis = 1000;
338338

339339
public Builder() {
340340
}
@@ -746,16 +746,6 @@ public Builder telemetryRefreshRate(int telemetryRefreshRate) {
746746
return this;
747747
}
748748

749-
/**
750-
* Set the time after which period of inactivity a connection must be revalidated .
751-
* @param validateAfterInactivityInMillis
752-
* @return
753-
*/
754-
public Builder validateAfterInactivityInMillis(long validateAfterInactivityInMillis) {
755-
_validateAfterInactivityInMillis = validateAfterInactivityInMillis;
756-
return this;
757-
}
758-
759749
public SplitClientConfig build() {
760750
if (_featuresRefreshRate < 5 ) {
761751
throw new IllegalArgumentException("featuresRefreshRate must be >= 5: " + _featuresRefreshRate);

0 commit comments

Comments
 (0)