add reconnection code between nodes that are not masters
This commit is contained in:
parent
f6afc01fe5
commit
22fa91efa0
|
@ -85,7 +85,7 @@ public class InternalClusterService extends AbstractLifecycleComponent<ClusterSe
|
|||
this.threadPool = threadPool;
|
||||
this.timerService = timerService;
|
||||
|
||||
this.reconnectInterval = componentSettings.getAsTime("reconnect_interval", TimeValue.timeValueSeconds(30));
|
||||
this.reconnectInterval = componentSettings.getAsTime("reconnect_interval", TimeValue.timeValueSeconds(10));
|
||||
}
|
||||
|
||||
@Override protected void doStart() throws ElasticSearchException {
|
||||
|
|
Loading…
Reference in New Issue