mirror of https://github.com/apache/lucene.git
distrib search: up max connections per host
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292353 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
44a976ff39
commit
2127ffa53e
|
@ -108,7 +108,7 @@ public class HttpShardHandlerFactory extends ShardHandlerFactory implements Plug
|
|||
}
|
||||
}
|
||||
mgr = new MultiThreadedHttpConnectionManager();
|
||||
mgr.getParams().setDefaultMaxConnectionsPerHost(20);
|
||||
mgr.getParams().setDefaultMaxConnectionsPerHost(256);
|
||||
mgr.getParams().setMaxTotalConnections(10000);
|
||||
mgr.getParams().setConnectionTimeout(connectionTimeout);
|
||||
mgr.getParams().setSoTimeout(soTimeout);
|
||||
|
|
Loading…
Reference in New Issue