Update ttlStrategy in ODU workflows
Change-Id: I3bcea7713ddf11f0606c229ce474e9ace1bdf498
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
diff --git a/osm_lcm/odu_libs/templates/launcher-bootstrap-cluster.j2 b/osm_lcm/odu_libs/templates/launcher-bootstrap-cluster.j2
index 0b8e7ea..ac56cbc 100644
--- a/osm_lcm/odu_libs/templates/launcher-bootstrap-cluster.j2
+++ b/osm_lcm/odu_libs/templates/launcher-bootstrap-cluster.j2
@@ -66,9 +66,8 @@
# Cleanup policy
ttlStrategy:
- secondsAfterCompletion: 2000 # Time to live after workflow is completed, replaces ttlSecondsAfterFinished
- secondsAfterSuccess: 1000 # Time to live after workflow is successful
- secondsAfterFailure: 1000 # Time to live after workflow fails
+ secondsAfterSuccess: 1800 # Time to live after workflow is successful
+ secondsAfterFailure: 7200 # Time to live after workflow fails
workflowTemplateRef:
name: full-bootstrap-cluster-wft