fix reversed conn and so timeouts - currently used for tests

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1428963 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Robert Miller 2013-01-04 16:40:52 +00:00
parent 71942e1ac6
commit 2389d5a354
1 changed files with 2 additions and 2 deletions

View File

@ -44,8 +44,8 @@ public class UpdateShardHandler {
ModifiableSolrParams params = new ModifiableSolrParams();
params.set(HttpClientUtil.PROP_MAX_CONNECTIONS, 500);
params.set(HttpClientUtil.PROP_MAX_CONNECTIONS_PER_HOST, 16);
params.set(HttpClientUtil.PROP_SO_TIMEOUT, distribUpdateConnTimeout);
params.set(HttpClientUtil.PROP_CONNECTION_TIMEOUT, distribUpdateSoTimeout);
params.set(HttpClientUtil.PROP_SO_TIMEOUT, distribUpdateSoTimeout);
params.set(HttpClientUtil.PROP_CONNECTION_TIMEOUT, distribUpdateConnTimeout);
client = HttpClientUtil.createClient(params);
}