Commit a23fb42f by Jason Song

reduce config service locator retry times to 2

parent 180e1019
...@@ -105,7 +105,7 @@ public class ConfigServiceLocator implements Initializable { ...@@ -105,7 +105,7 @@ public class ConfigServiceLocator implements Initializable {
String url = assembleMetaServiceUrl(); String url = assembleMetaServiceUrl();
HttpRequest request = new HttpRequest(url); HttpRequest request = new HttpRequest(url);
int maxRetries = 5; int maxRetries = 2;
Throwable exception = null; Throwable exception = null;
for (int i = 0; i < maxRetries; i++) { for (int i = 0; i < maxRetries; i++) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment