dubee commented on a change in pull request #4088: Make activation polling for 
blocking invocations configurable
URL: 
https://github.com/apache/incubator-openwhisk/pull/4088#discussion_r237603623
 
 

 ##########
 File path: 
core/controller/src/main/scala/whisk/core/controller/actions/PrimitiveActions.scala
 ##########
 @@ -593,11 +596,15 @@ protected[actions] trait PrimitiveActions {
     //    in case of an incomplete active-ack (record too large for example).
     activeAckResponse.foreach {
       case Right(activation) => result.trySuccess(Right(activation))
-      case _                 => pollActivation(docid, context, result, i => 
1.seconds + (2.seconds * i), maxRetries = 4)
+      case _ if (controllerActivationConfig.pollingFromDb) =>
+        pollActivation(docid, context, result, i => 1.seconds + (2.seconds * 
i), maxRetries = 4)
 
 Review comment:
   @tysonnorris, I was seeing the same problem with large activations 
responses. Let me rebase these changes with 
https://github.com/apache/incubator-openwhisk/issues/4134 to see if the problem 
has been resolved.

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