diff options
Diffstat (limited to 'cluster/prod/app')
-rw-r--r-- | cluster/prod/app/core/deploy/core.hcl | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/cluster/prod/app/core/deploy/core.hcl b/cluster/prod/app/core/deploy/core.hcl index a246f09..43966b7 100644 --- a/cluster/prod/app/core/deploy/core.hcl +++ b/cluster/prod/app/core/deploy/core.hcl @@ -23,8 +23,8 @@ job "core" { } restart { - interval = "30m" - attempts = 2 + interval = "5m" + attempts = 10 delay = "15s" mode = "delay" } @@ -97,8 +97,8 @@ EOH } restart { - interval = "30m" - attempts = 2 + interval = "5m" + attempts = 10 delay = "15s" mode = "delay" } @@ -177,6 +177,13 @@ EOH ] } + restart { + interval = "5m" + attempts = 10 + delay = "15s" + mode = "delay" + } + resources { memory = 100 memory_max = 200 |