liubao68 commented on code in PR #4599:
URL: 
https://github.com/apache/servicecomb-java-chassis/pull/4599#discussion_r1851209106


##########
foundations/foundation-registry/src/main/java/org/apache/servicecomb/registry/api/registry/MicroserviceInstance.java:
##########
@@ -188,6 +189,9 @@ public static MicroserviceInstance 
createFromDefinition(Configuration configurat
 
     // load properties
     Map<String, String> propertiesMap = 
InstancePropertiesLoader.INSTANCE.loadProperties(configuration);
+
+    // add register time for warm up
+    propertiesMap.put(InstancePropertiesConst.REGISTER_TIME_KEY, 
String.valueOf(System.currentTimeMillis()));

Review Comment:
   Distributed time may not always same for different instance. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to