Skip to content

Commit

Permalink
Reduced default validate after inactivity setting from 5 sec to 2 sec
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1681021 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
ok2c committed May 22, 2015
1 parent 8fc08b3 commit 6e6b8e5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ public PoolingHttpClientConnectionManager(
this.configData = new ConfigData();
this.pool = new CPool(new InternalConnectionFactory(
this.configData, connFactory), 2, 20, timeToLive, tunit);
this.pool.setValidateAfterInactivity(5000);
this.pool.setValidateAfterInactivity(2000);
this.connectionOperator = Args.notNull(httpClientConnectionOperator, "HttpClientConnectionOperator");
this.isShutDown = new AtomicBoolean(false);
}
Expand Down

0 comments on commit 6e6b8e5

Please sign in to comment.