Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
apollo
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openSource
apollo
Commits
a23fb42f
Commit
a23fb42f
authored
Mar 29, 2017
by
Jason Song
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reduce config service locator retry times to 2
parent
180e1019
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ConfigServiceLocator.java
...trip/framework/apollo/internals/ConfigServiceLocator.java
+1
-1
No files found.
apollo-client/src/main/java/com/ctrip/framework/apollo/internals/ConfigServiceLocator.java
View file @
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
++)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment