Reduced default validate after inactivity setting from 5 sec to 2 sec

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1681021 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Oleg Kalnichevski 2015-05-22 07:32:47 +00:00
parent 8fc08b322e
commit 6e6b8e5180
1 changed files with 1 additions and 1 deletions

View File

@ -173,7 +173,7 @@ public class 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);
}