This is an automated email from the ASF dual-hosted git repository.
bdoyle pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk.git
The following commit(s) were added to refs/heads/master by this push:
new ff7d578bc change default warmed container keeping count (#5328)
ff7d578bc is described below
commit ff7d578bc6ffe0bb392ca9d741f585ac68a025db
Author: Brendan Doyle <[email protected]>
AuthorDate: Wed Sep 28 14:18:55 2022 -0400
change default warmed container keeping count (#5328)
Co-authored-by: Brendan Doyle <[email protected]>
---
.../scala/org/apache/openwhisk/core/invoker/FPCInvokerReactive.scala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/core/invoker/src/main/scala/org/apache/openwhisk/core/invoker/FPCInvokerReactive.scala
b/core/invoker/src/main/scala/org/apache/openwhisk/core/invoker/FPCInvokerReactive.scala
index e38c39701..327c0deda 100644
---
a/core/invoker/src/main/scala/org/apache/openwhisk/core/invoker/FPCInvokerReactive.scala
+++
b/core/invoker/src/main/scala/org/apache/openwhisk/core/invoker/FPCInvokerReactive.scala
@@ -151,7 +151,7 @@ class FPCInvokerReactive(config: WhiskConfig,
Identity
.get(authStore, EntityName(invocationNamespace))(trasnid)
.map { identity =>
- val warmedContainerKeepingCount =
identity.limits.warmedContainerKeepingCount.getOrElse(1)
+ val warmedContainerKeepingCount =
identity.limits.warmedContainerKeepingCount.getOrElse(0)
val warmedContainerKeepingTimeout = Try {
identity.limits.warmedContainerKeepingTimeout.map(Duration(_).toSeconds.seconds).get
}.getOrElse(containerProxyTimeoutConfig.keepingDuration)