change transport client settings
This commit is contained in:
parent
9965943c89
commit
0e89061e1a
2 changed files with 4 additions and 4 deletions
|
@ -125,9 +125,9 @@ public class TransportClientHelper {
|
|||
.put("cluster.name", settings.get("cluster.name", "elasticsearch"))
|
||||
.put("path.home", settings.get("path.home", "."))
|
||||
.put("processors", settings.getAsInt("processors", Runtime.getRuntime().availableProcessors())) // for thread pool size
|
||||
.put("client.transport.sniff", false) // do not sniff
|
||||
.put("client.transport.nodes_sampler_interval", "1m") // do not ping
|
||||
.put("client.transport.ping_timeout", "1m") // wait for unresponsive nodes a very long time before disconnect
|
||||
.put("client.transport.sniff", false) // always disable sniff
|
||||
.put("client.transport.nodes_sampler_interval", -1) // do not ping, default is 5 seconds
|
||||
.put("client.transport.ping_timeout", -1) // disable ping unresponsive nodes, defauult is 5 seconds
|
||||
.put("client.transport.ignore_cluster_name", true) // connect to any cluster
|
||||
.build();
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
group = org.xbib
|
||||
name = elx
|
||||
version = 2.2.1.21
|
||||
version = 2.2.1.22
|
||||
|
||||
gradle.wrapper.version = 6.4.1
|
||||
xbib-metrics.version = 2.1.0
|
||||
|
|
Loading…
Reference in a new issue