forked from Deuxfleurs/infrastructure
Don't always restart stolon keeper if it is failed (let stolon do its job)
This commit is contained in:
parent
987cefeba0
commit
fada3f6ed1
1 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
// }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue