From fada3f6ed17e07a6b8f1c296c1c1b36e97ea8417 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Wed, 24 Feb 2021 14:54:18 +0100 Subject: Don't always restart stolon keeper if it is failed (let stolon do its job) --- app/postgres/deploy/postgres.hcl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'app') diff --git a/app/postgres/deploy/postgres.hcl b/app/postgres/deploy/postgres.hcl index f5eec51..6f71b4c 100644 --- a/app/postgres/deploy/postgres.hcl +++ b/app/postgres/deploy/postgres.hcl @@ -114,18 +114,18 @@ job "postgres" { tags = ["sql"] port = "psql_port" address_mode = "host" - name = "keeper" + name = "psql-keeper" check { type = "tcp" port = "psql_port" interval = "60s" timeout = "5s" - check_restart { - limit = 3 - grace = "60m" - ignore_warnings = false - } + // check_restart { + // limit = 3 + // grace = "60m" + // ignore_warnings = false + // } } } } -- cgit v1.2.3