Skip to content

Commit

Permalink
Merge branch 'JENA-1309'
Browse files Browse the repository at this point in the history
  • Loading branch information
ajs6f committed Apr 4, 2017
2 parents 3981cd6 + 6f9e59d commit 711e9be
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jena-arq/src/main/java/org/apache/jena/riot/web/HttpOp.java
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ public static CloseableHttpClient createPoolingHttpClient() {
String s = System.getProperty("http.maxConnections", "5");
int max = Integer.parseInt(s);
return HttpClientBuilder.create()
.useSystemProperties()
.setRedirectStrategy(laxRedirectStrategy)
.setMaxConnPerRoute(max)
.setMaxConnTotal(2*max)
Expand All @@ -227,6 +228,7 @@ public static CloseableHttpClient createCachingHttpClient() {
String s = System.getProperty("http.maxConnections", "5");
int max = Integer.parseInt(s);
return CachingHttpClientBuilder.create()
.useSystemProperties()
.setRedirectStrategy(laxRedirectStrategy)
.setMaxConnPerRoute(max)
.setMaxConnTotal(2*max)
Expand Down

0 comments on commit 711e9be

Please sign in to comment.