bdoyle0182 commented on code in PR #5284:
URL: https://github.com/apache/openwhisk/pull/5284#discussion_r921693145


##########
core/scheduler/src/main/scala/org/apache/openwhisk/core/scheduler/queue/SchedulingDecisionMaker.scala:
##########
@@ -79,7 +89,7 @@ class SchedulingDecisionMaker(
            *
            * However, if the container exists(totalContainers != 0), the 
activation is not treated as a failure and the activation is delivered to the 
container.
            */
-          case Running =>
+          case Running if totalContainers == 0 || 
!schedulingConfig.allowOverProvisionBeforeThrottle =>

Review Comment:
   If capacity == 0 and feature is turned on and still no containers for action 
could be created, then turn on namespace throttling. If capacity == 0 and 
feature is turned off and no containers exist, just skip any considerations and 
turn on namespace throttling same as existing behavior



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