diff --git a/elx-transport/src/main/java/org/xbib/elx/transport/TransportClientHelper.java b/elx-transport/src/main/java/org/xbib/elx/transport/TransportClientHelper.java index 5fe7c68..b1e810e 100644 --- a/elx-transport/src/main/java/org/xbib/elx/transport/TransportClientHelper.java +++ b/elx-transport/src/main/java/org/xbib/elx/transport/TransportClientHelper.java @@ -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(); } diff --git a/gradle.properties b/gradle.properties index a52e909..6e3a490 100644 --- a/gradle.properties +++ b/gradle.properties @@ -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