This is an automated email from the ASF dual-hosted git repository.
style95 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 4016aa803 Fix scheduler inProgressDuration parsing (#5281)
4016aa803 is described below
commit 4016aa803ee84b849db8a907cbd17a41cc374e7a
Author: Erika Hunhoff <[email protected]>
AuthorDate: Thu Jul 14 04:44:57 2022 -0600
Fix scheduler inProgressDuration parsing (#5281)
---
.../apache/openwhisk/core/scheduler/container/CreationJobManager.scala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/core/scheduler/src/main/scala/org/apache/openwhisk/core/scheduler/container/CreationJobManager.scala
b/core/scheduler/src/main/scala/org/apache/openwhisk/core/scheduler/container/CreationJobManager.scala
index ecbc528a4..c9579ffa1 100644
---
a/core/scheduler/src/main/scala/org/apache/openwhisk/core/scheduler/container/CreationJobManager.scala
+++
b/core/scheduler/src/main/scala/org/apache/openwhisk/core/scheduler/container/CreationJobManager.scala
@@ -224,7 +224,7 @@ class CreationJobManager(feedFactory: (ActorRefFactory,
String, String, Int, Arr
}
object CreationJobManager {
- private val baseTimeout =
loadConfigOrThrow[Int](ConfigKeys.schedulerInProgressJobRetention).seconds
+ private val baseTimeout =
loadConfigOrThrow[FiniteDuration](ConfigKeys.schedulerInProgressJobRetention)
private val blackboxMultiple =
loadConfigOrThrow[Int](ConfigKeys.schedulerBlackboxMultiple)
def props(feedFactory: (ActorRefFactory, String, String, Int, Array[Byte] =>
Future[Unit]) => ActorRef,