Commit 5a6e6fb4 by 张乐 Committed by GitHub

Merge pull request #575 from nobodyiam/fix-config-service-locator-retry-times

reduce config service locator retry times to 2
parents 180e1019 a23fb42f
...@@ -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