Skip to content

Commit

Permalink
Merge pull request apolloconfig#575 from nobodyiam/fix-config-service…
Browse files Browse the repository at this point in the history
…-locator-retry-times

reduce config service locator retry times to 2
  • Loading branch information
lepdou authored Mar 29, 2017
2 parents 180e101 + a23fb42 commit 5a6e6fb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ private synchronized void updateConfigServices() {
String url = assembleMetaServiceUrl();

HttpRequest request = new HttpRequest(url);
int maxRetries = 5;
int maxRetries = 2;
Throwable exception = null;

for (int i = 0; i < maxRetries; i++) {
Expand Down

0 comments on commit 5a6e6fb

Please sign in to comment.