mirror of https://github.com/apache/lucene.git
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:
parent
fe719d3568
commit
23edb27440
|
@ -1220,7 +1220,7 @@ public final class ZkController {
|
||||||
if (!isLeader && !SKIP_AUTO_RECOVERY) {
|
if (!isLeader && !SKIP_AUTO_RECOVERY) {
|
||||||
HttpSolrServer server = null;
|
HttpSolrServer server = null;
|
||||||
server = new HttpSolrServer(leaderBaseUrl);
|
server = new HttpSolrServer(leaderBaseUrl);
|
||||||
server.setConnectionTimeout(45000);
|
server.setConnectionTimeout(15000);
|
||||||
server.setSoTimeout(120000);
|
server.setSoTimeout(120000);
|
||||||
WaitForState prepCmd = new WaitForState();
|
WaitForState prepCmd = new WaitForState();
|
||||||
prepCmd.setCoreName(leaderCoreName);
|
prepCmd.setCoreName(leaderCoreName);
|
||||||
|
|
Loading…
Reference in New Issue