Zen Discovery: Increase Ping timeouts, closes #177.
This commit is contained in:
parent
216dda3f9c
commit
ab57fa86af
|
@ -85,8 +85,8 @@ public class MasterFaultDetection extends AbstractComponent {
|
||||||
|
|
||||||
this.connectOnNetworkDisconnect = componentSettings.getAsBoolean("connect_on_network_disconnect", false);
|
this.connectOnNetworkDisconnect = componentSettings.getAsBoolean("connect_on_network_disconnect", false);
|
||||||
this.pingInterval = componentSettings.getAsTime("ping_interval", timeValueSeconds(1));
|
this.pingInterval = componentSettings.getAsTime("ping_interval", timeValueSeconds(1));
|
||||||
this.pingRetryTimeout = componentSettings.getAsTime("ping_timeout", timeValueSeconds(6));
|
this.pingRetryTimeout = componentSettings.getAsTime("ping_timeout", timeValueSeconds(30));
|
||||||
this.pingRetryCount = componentSettings.getAsInt("ping_retries", 5);
|
this.pingRetryCount = componentSettings.getAsInt("ping_retries", 3);
|
||||||
|
|
||||||
logger.debug("Master FD uses ping_interval [{}], ping_timeout [{}], ping_retries [{}]", pingInterval, pingRetryTimeout, pingRetryCount);
|
logger.debug("Master FD uses ping_interval [{}], ping_timeout [{}], ping_retries [{}]", pingInterval, pingRetryTimeout, pingRetryCount);
|
||||||
|
|
||||||
|
|
|
@ -81,8 +81,8 @@ public class NodesFaultDetection extends AbstractComponent {
|
||||||
|
|
||||||
this.connectOnNetworkDisconnect = componentSettings.getAsBoolean("connect_on_network_disconnect", false);
|
this.connectOnNetworkDisconnect = componentSettings.getAsBoolean("connect_on_network_disconnect", false);
|
||||||
this.pingInterval = componentSettings.getAsTime("ping_interval", timeValueSeconds(1));
|
this.pingInterval = componentSettings.getAsTime("ping_interval", timeValueSeconds(1));
|
||||||
this.pingRetryTimeout = componentSettings.getAsTime("ping_timeout", timeValueSeconds(6));
|
this.pingRetryTimeout = componentSettings.getAsTime("ping_timeout", timeValueSeconds(30));
|
||||||
this.pingRetryCount = componentSettings.getAsInt("ping_retries", 5);
|
this.pingRetryCount = componentSettings.getAsInt("ping_retries", 3);
|
||||||
|
|
||||||
logger.debug("Nodes FD uses ping_interval [{}], ping_timeout [{}], ping_retries [{}]", pingInterval, pingRetryTimeout, pingRetryCount);
|
logger.debug("Nodes FD uses ping_interval [{}], ping_timeout [{}], ping_retries [{}]", pingInterval, pingRetryTimeout, pingRetryCount);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue