diff options
author | Alex Auvolat <alex@adnab.me> | 2021-02-24 14:54:18 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2021-02-24 14:54:18 +0100 |
commit | fada3f6ed17e07a6b8f1c296c1c1b36e97ea8417 (patch) | |
tree | 516121bc6fd2d3f23ebec00435ccfdcda758998f | |
parent | 987cefeba06b9b901f84511e9e5f518c2f7eb110 (diff) | |
download | infrastructure-fada3f6ed17e07a6b8f1c296c1c1b36e97ea8417.tar.gz infrastructure-fada3f6ed17e07a6b8f1c296c1c1b36e97ea8417.zip |
Don't always restart stolon keeper if it is failed (let stolon do its job)
-rw-r--r-- | app/postgres/deploy/postgres.hcl | 12 |
1 files changed, 6 insertions, 6 deletions
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 + // } } } } |