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
1 changed files with 6 additions and 6 deletions

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