ningyougang commented on a change in pull request #5098:
URL: https://github.com/apache/openwhisk/pull/5098#discussion_r612950597



##########
File path: 
core/invoker/src/main/scala/org/apache/openwhisk/core/containerpool/v2/InvokerHealthManager.scala
##########
@@ -269,6 +270,7 @@ object InvokerHealthManager {
   val healthActionNamePrefix = "invokerHealthTestAction"
   val bufferSize = 10
   val bufferErrorTolerance = 3
+  var useMemory = 0l

Review comment:
       There has a get used memory API: http://$invoker:$port/memory, 
   ```
   complete(InvokerHealthManager.useMemory.toString)
   ```
   The FunctionPullingContainerPool actor(which will be contributed) sends the 
pool's used memory info(busyMemory + inprogressMemory) to InvokerHealthyManager 
actor, so use a mutable variable to store the value.




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

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


Reply via email to