From 195e340f567b768fd3731f6abb5ae8960f1fe8ff Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Thu, 1 Dec 2022 17:03:20 +0100 Subject: prod: more agressive restart on core services --- cluster/prod/app/core/deploy/core.hcl | 15 +++++++++++---- 1 file 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 -- cgit v1.2.3