summaryrefslogtreecommitdiffstats
path: root/vespa-feed-client
diff options
context:
space:
mode:
authorJon Marius Venstad <venstad@gmail.com>2021-06-14 10:00:47 +0200
committerJon Marius Venstad <venstad@gmail.com>2021-06-14 10:00:47 +0200
commit526cfcc85550d11cd372dec4e1302b6e8e5055ee (patch)
tree21507cd29e9a74cc0e527a5a22f12b306b5f03f0 /vespa-feed-client
parent2f8b1e849571ee0b224f8e2461238a7293569192 (diff)
Try OkHttpClient
Diffstat (limited to 'vespa-feed-client')
-rw-r--r--vespa-feed-client/src/main/java/ai/vespa/feed/client/HttpRequestStrategy.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/vespa-feed-client/src/main/java/ai/vespa/feed/client/HttpRequestStrategy.java b/vespa-feed-client/src/main/java/ai/vespa/feed/client/HttpRequestStrategy.java
index 3cce423735f..72fa675ecf1 100644
--- a/vespa-feed-client/src/main/java/ai/vespa/feed/client/HttpRequestStrategy.java
+++ b/vespa-feed-client/src/main/java/ai/vespa/feed/client/HttpRequestStrategy.java
@@ -59,7 +59,7 @@ class HttpRequestStrategy implements RequestStrategy {
});
HttpRequestStrategy(FeedClientBuilder builder) throws IOException {
- this(builder, new BenchmarkingCluster(new ApacheCluster(builder)));
+ this(builder, new BenchmarkingCluster(new OkCluster(builder)));
}
HttpRequestStrategy(FeedClientBuilder builder, Cluster cluster) {