|
@@ -1562,8 +1562,13 @@ public class Client {
|
|
|
final int max = conf.getInt(
|
|
|
CommonConfigurationKeysPublic.IPC_CLIENT_CONNECT_MAX_RETRIES_KEY,
|
|
|
CommonConfigurationKeysPublic.IPC_CLIENT_CONNECT_MAX_RETRIES_DEFAULT);
|
|
|
+ final int retryInterval = conf.getInt(
|
|
|
+ CommonConfigurationKeysPublic.IPC_CLIENT_CONNECT_RETRY_INTERVAL_KEY,
|
|
|
+ CommonConfigurationKeysPublic
|
|
|
+ .IPC_CLIENT_CONNECT_RETRY_INTERVAL_DEFAULT);
|
|
|
+
|
|
|
connectionRetryPolicy = RetryPolicies.retryUpToMaximumCountWithFixedSleep(
|
|
|
- max, 1, TimeUnit.SECONDS);
|
|
|
+ max, retryInterval, TimeUnit.MILLISECONDS);
|
|
|
}
|
|
|
|
|
|
boolean doPing =
|