mirror of https://github.com/apache/lucene.git
boost the get leader timeout a bit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546679 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4460efe729
commit
a6eb226481
|
@ -497,7 +497,7 @@ public class ZkStateReader {
|
|||
* Get shard leader properties, with retry if none exist.
|
||||
*/
|
||||
public Replica getLeaderRetry(String collection, String shard) throws InterruptedException {
|
||||
return getLeaderRetry(collection, shard, 2000);
|
||||
return getLeaderRetry(collection, shard, 4000);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue