mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-24 22:09:24 +00:00
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.threadPool = threadPool;
|
||||||
this.timerService = timerService;
|
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 {
|
@Override protected void doStart() throws ElasticSearchException {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user