chengyouling commented on code in PR #4599:
URL:
https://github.com/apache/servicecomb-java-chassis/pull/4599#discussion_r1851711361
##########
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:
add provider invoke time to calculate weight
--
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]