rabbah commented on a change in pull request #2533: Add the ability to define 
user-specific throttles.
URL: 
https://github.com/apache/incubator-openwhisk/pull/2533#discussion_r129853146
 
 

 ##########
 File path: 
core/controller/src/main/scala/whisk/core/entitlement/Entitlement.scala
 ##########
 @@ -255,7 +255,9 @@ protected[core] abstract class EntitlementProvider(config: 
WhiskConfig, loadBala
         def userThrottled = {
             val isInvocation = resources.exists(_.collection.path == 
Collection.ACTIONS)
             val isTrigger = resources.exists(_.collection.path == 
Collection.TRIGGERS)
-            (isInvocation && !invokeRateThrottler.check(user)) || (isTrigger 
&& !triggerRateThrottler.check(user))
+            (isInvocation &&
 
 Review comment:
   is this formatting intentional?
 
----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to