From 99614ee3822fec7a94de06c407ee4830497c17e3 Mon Sep 17 00:00:00 2001 From: mklkun Date: Thu, 24 Jun 2021 08:19:07 +0100 Subject: [PATCH] Add 2 executions on task error in translated workflows --- .../src/main/java/org/activeeon/morphemic/PAGateway.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scheduling-abstraction-layer/src/main/java/org/activeeon/morphemic/PAGateway.java b/scheduling-abstraction-layer/src/main/java/org/activeeon/morphemic/PAGateway.java index 4158986a..0031a614 100644 --- a/scheduling-abstraction-layer/src/main/java/org/activeeon/morphemic/PAGateway.java +++ b/scheduling-abstraction-layer/src/main/java/org/activeeon/morphemic/PAGateway.java @@ -1014,6 +1014,7 @@ public class PAGateway { setAllScalingOutMandatoryDependencies(paJob, job, scaledTaskName, newNodesNumbers); + paJob.setMaxNumberOfExecution(2); paJob.setProjectName("Morphemic"); long submittedJobId = schedulerGateway.submit(paJob).longValue(); @@ -1303,6 +1304,7 @@ public class PAGateway { setAllMandatoryDependencies(paJob, job); + paJob.setMaxNumberOfExecution(2); paJob.setProjectName("Morphemic"); long submittedJobId = schedulerGateway.submit(paJob).longValue(); @@ -1477,6 +1479,7 @@ public class PAGateway { setAllMandatoryDependencies(paJob, jobToSubmit); + paJob.setMaxNumberOfExecution(2); paJob.setProjectName("Morphemic"); long submittedJobId = -1L; -- GitLab