mt-monster commented on a change in pull request #625: [SCB-444]try to optimize 
autoDiscovery function
URL: 
https://github.com/apache/incubator-servicecomb-java-chassis/pull/625#discussion_r178240182
 
 

 ##########
 File path: 
service-registry/src/main/java/org/apache/servicecomb/serviceregistry/client/http/ServiceRegistryClientImpl.java
 ##########
 @@ -488,7 +488,7 @@ public HeartbeatResponse heartbeat(String microserviceId, 
String microserviceIns
     RestUtils.put(ipPort,
         String.format(Const.REGISTRY_API.MICROSERVICE_HEARTBEAT, 
microserviceId, microserviceInstanceId),
         new 
RequestParam().setTimeout(ServiceRegistryConfig.INSTANCE.getHeartBeatRequestTimeout()),
-        syncHandler(countDownLatch, HttpClientResponse.class, holder));
+        syncHandlerForHeartbeat(countDownLatch, HttpClientResponse.class, 
holder));
 
 Review comment:
   ok. i fix it 

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to