drop the connect timeout from 45 sec

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1441941 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Robert Miller 2013-02-03 18:06:52 +00:00
parent fe719d3568
commit 23edb27440
1 changed files with 1 additions and 1 deletions

View File

@ -1220,7 +1220,7 @@ public final class ZkController {
if (!isLeader && !SKIP_AUTO_RECOVERY) {
HttpSolrServer server = null;
server = new HttpSolrServer(leaderBaseUrl);
server.setConnectionTimeout(45000);
server.setConnectionTimeout(15000);
server.setSoTimeout(120000);
WaitForState prepCmd = new WaitForState();
prepCmd.setCoreName(leaderCoreName);