diff --git a/internal/environment/template-environment-job.hcl b/internal/environment/template-environment-job.hcl index 41b1bc79..26386f4e 100644 --- a/internal/environment/template-environment-job.hcl +++ b/internal/environment/template-environment-job.hcl @@ -18,11 +18,17 @@ job "template-0" { weight = 100 } restart { - delay = "0s" + attempts = 3 + delay = "15s" + interval = "1h" + mode = "fail" } reschedule { - unlimited = true - attempts = 0 + unlimited = false + attempts = 3 + interval = "6h" + delay = "1m" + delay_function = "exponential" } task "default-task" {