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:
Yonik Seeley 2012-02-22 15:42:07 +00:00
parent 44a976ff39
commit 2127ffa53e
1 changed files with 1 additions and 1 deletions

View File

@ -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);