You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicecomb.apache.org by GitBox <gi...@apache.org> on 2018/02/09 00:39:42 UTC

[GitHub] wujimin commented on a change in pull request #552: [SCB-294]when send a request to a not exist microservice, edge will always try to find instances of it

wujimin commented on a change in pull request #552: [SCB-294]when send a request to a not exist microservice, edge will always try to find instances of it
URL: https://github.com/apache/incubator-servicecomb-java-chassis/pull/552#discussion_r167111736
 
 

 ##########
 File path: service-registry/src/main/java/org/apache/servicecomb/serviceregistry/consumer/MicroserviceVersions.java
 ##########
 @@ -210,9 +220,9 @@ public void onMicroserviceInstanceChanged(MicroserviceInstanceChangedEvent chang
     //   if pull 1/2/3, and then delete 3, but "delete 3" received before pull result, will have wrong 3.
     // EXPIRE::
     //   black/white config in SC changed, we must refresh all data from sc.
-    postPullInstanceEvent(TimeUnit.MILLISECONDS.toMillis(1));
+    postPullInstanceEvent(0);
 
 Review comment:
   even time is 0, it's a async task.
   everything not changed, except time gap is smaller, but time gap is not 0.

----------------------------------------------------------------
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