Skip to content

Commit 63aad5f

Browse files
committed
by default cwms-http-client should not having cachine turned on
application clients need to control the scope of the cache and when to recycle, it should not be enabled by default
1 parent ccfcbb6 commit 63aad5f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cwms-http-client/src/main/java/mil/army/usace/hec/cwms/http/client/ApiConnectionInfoBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public class ApiConnectionInfoBuilder {
4545
private CookieAuthenticator cookieAuthenticator;
4646
private SimpleAuthKeyProvider simpleAuthKeyProvider;
4747
private HostnameVerifier hostnameVerifier;
48-
private CacheFactory.CacheSupplier cacheSupplier = CacheFactory.okHttpCacheSupplier();
48+
private CacheFactory.CacheSupplier cacheSupplier;
4949

5050
public ApiConnectionInfoBuilder(String apiRoot) {
5151
this.apiRoot = apiRoot;

0 commit comments

Comments
 (0)