Skip to content

Commit

Permalink
Disable okhttp retry
Browse files Browse the repository at this point in the history
  • Loading branch information
z4kn4fein committed Sep 22, 2022
1 parent b7dd2e8 commit 1dcdc8b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version=7.1.3
version=7.2.0
1 change: 0 additions & 1 deletion src/main/java/com/configcat/ConfigCatClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ private ConfigCatClient(String sdkKey, Builder builder) throws IllegalArgumentEx
ConfigFetcher fetcher = new ConfigFetcher(builder.httpClient == null
? new OkHttpClient
.Builder()
.retryOnConnectionFailure(true)
.build()
: builder.httpClient,
this.logger,
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/configcat/ConfigFetcher.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class ConfigFetcher implements Closeable {
private final ConfigCatLogger logger;
private final OkHttpClient httpClient;
private final String mode;
private static final String version = "7.1.3";
private static final String version = "7.2.0";
private final ConfigJsonCache configJsonCache;
private final String sdkKey;
private final boolean urlIsCustom;
Expand Down

0 comments on commit 1dcdc8b

Please sign in to comment.