You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwhisk.apache.org by gi...@git.apache.org on 2017/05/15 21:49:33 UTC

[GitHub] tysonnorris commented on a change in pull request #2246: To resolve #2245 - optimize container removal

tysonnorris commented on a change in pull request #2246: To resolve #2245 - optimize container removal
URL: https://github.com/apache/incubator-openwhisk/pull/2246#discussion_r116609610
 
 

 ##########
 File path: core/invoker/src/main/scala/whisk/core/containerpool/ContainerPool.scala
 ##########
 @@ -192,13 +192,14 @@ object ContainerPool {
      * takes away one of their containers iff the namespace placing the new job is
      * not already the most consuming one.
      *
-     * @param namespace the namespace that wants to get a container
+     * @param action the action that wants to get a container
      * @param pool a map of all containers in the pool
      * @return a container to be removed iff found
      */
-    def remove[A](invocationNamespace: EntityName, pool: Map[A, WorkerData]): Option[A] = {
+    def remove[A](action: ExecutableWhiskAction, pool: Map[A, WorkerData]): Option[A] = {
 
 Review comment:
   I thought the container should be reusable across same actions regardless of subject?
 
----------------------------------------------------------------
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