From c264e2e7702409d9d4fd51077da98f5058663cc6 Mon Sep 17 00:00:00 2001 From: Egon Willighagen Date: Thu, 23 Apr 2020 16:00:00 +0200 Subject: [PATCH] Use a shared manager --- .../src/org/wikipathways/client/WikiPathwaysClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.wikipathways.client/src/org/wikipathways/client/WikiPathwaysClient.java b/org.wikipathways.client/src/org/wikipathways/client/WikiPathwaysClient.java index 5a0e264..7f971f8 100644 --- a/org.wikipathways.client/src/org/wikipathways/client/WikiPathwaysClient.java +++ b/org.wikipathways.client/src/org/wikipathways/client/WikiPathwaysClient.java @@ -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()); }