Don't always restart stolon keeper if it is failed (let stolon do its job)

This commit is contained in:
Alex 2021-02-24 14:54:18 +01:00
parent 987cefeba0
commit fada3f6ed1

View file

@ -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
// }
}
}
}