aboutsummaryrefslogtreecommitdiff
path: root/app/postgres
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-02-24 14:54:18 +0100
committerAlex Auvolat <alex@adnab.me>2021-02-24 14:54:18 +0100
commitfada3f6ed17e07a6b8f1c296c1c1b36e97ea8417 (patch)
tree516121bc6fd2d3f23ebec00435ccfdcda758998f /app/postgres
parent987cefeba06b9b901f84511e9e5f518c2f7eb110 (diff)
downloadinfrastructure-fada3f6ed17e07a6b8f1c296c1c1b36e97ea8417.tar.gz
infrastructure-fada3f6ed17e07a6b8f1c296c1c1b36e97ea8417.zip
Don't always restart stolon keeper if it is failed (let stolon do its job)
Diffstat (limited to 'app/postgres')
-rw-r--r--app/postgres/deploy/postgres.hcl12
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
+ // }
}
}
}