servicecomb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] eric-lee-ltk commented on a change in pull request #681: [SCB-526]fetch once from dynamic config source when boot up
Date Sun, 29 Apr 2018 01:07:43 GMT
eric-lee-ltk commented on a change in pull request #681: [SCB-526]fetch once from dynamic config
source when boot up
URL: https://github.com/apache/incubator-servicecomb-java-chassis/pull/681#discussion_r184868922
 
 

 ##########
 File path: dynamic-config/config-cc/src/main/java/org/apache/servicecomb/config/client/ConfigCenterClient.java
 ##########
 @@ -128,24 +130,28 @@ public void connectServer() {
     } catch (InterruptedException e) {
       throw new IllegalStateException(e);
     }
-    refreshMembers(memberDiscovery);
-    EXECUTOR.scheduleWithFixedDelay(new ConfigRefresh(parseConfigUtils, memberDiscovery),
+    refreshMembers(memberDiscovery, true);
+    ConfigRefresh refrestTask = new ConfigRefresh(parseConfigUtils, memberDiscovery);
 
 Review comment:
   typo, refrestTask

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message