Skip to content

Commit

Permalink
Use a shared manager
Browse files Browse the repository at this point in the history
  • Loading branch information
egonw committed Apr 23, 2020
1 parent 11e9f3e commit c264e2e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public WikiPathwaysClient(URL portAddress) {
HttpHost proxy = new HttpHost(proxyURL.getHost(), proxyURL.getPort());
builder.setProxy(proxy);
}
builder.setConnectionManagerShared(false);
builder.setConnectionManagerShared(true);
try (CloseableHttpClient httpclient = builder.build()) {
port = new WikiPathwaysRESTBindingStub(httpclient, portAddress.toString());
}
Expand Down

0 comments on commit c264e2e

Please sign in to comment.