chetanmeh commented on a change in pull request #2795: enable concurrent
activation processing
URL:
https://github.com/apache/incubator-openwhisk/pull/2795#discussion_r225416283
##########
File path:
common/scala/src/main/scala/whisk/core/containerpool/ContainerFactory.scala
##########
@@ -29,7 +29,8 @@ case class ContainerArgsConfig(network: String,
dnsServers: Seq[String] = Seq.empty,
extraArgs: Map[String, Set[String]] = Map.empty)
-case class ContainerPoolConfig(userMemory: ByteSize, akkaClient: Boolean) {
+case class ContainerPoolConfig(userMemory: ByteSize, concurrentPeekFactor:
Double, akkaClient: Boolean) {
+ require(concurrentPeekFactor > 0 && concurrentPeekFactor <= 1.0,
"concurrentPeekFactor must be > 0 and <= 1.0")
Review comment:
Include the current value in assertion message
----------------------------------------------------------------
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