mirror of https://github.com/apache/lucene.git
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:
parent
71942e1ac6
commit
2389d5a354
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue