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_r167112054
 
 

 ##########
 File path: 
service-registry/src/main/java/org/apache/servicecomb/serviceregistry/consumer/MicroserviceVersions.java
 ##########
 @@ -76,6 +77,18 @@ public MicroserviceVersions(AppManager appManager, String 
appId, String microser
     appManager.getEventBus().register(this);
   }
 
+  public void updateLastAccessTime() {
+    this.lastAccessedTime = System.currentTimeMillis();
+  }
+
+  public boolean isValidated() {
 
 Review comment:
   when will a MicroserviceVersions created, but never used?

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to