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:
parent
8fc08b322e
commit
6e6b8e5180
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue