Reduce check frequency
This commit is contained in:
parent
879db3287d
commit
e37a78ad78
|
@ -67,8 +67,8 @@ job [[ .pg.instance | toJSON ]] {
|
|||
port = "patroni"
|
||||
path = "/health"
|
||||
protocol = "https"
|
||||
interval = "10s"
|
||||
timeout = "8s"
|
||||
interval = "20s"
|
||||
timeout = "10s"
|
||||
# Patroni REST API is using a cert from a private CA
|
||||
tls_skip_verify = true
|
||||
}
|
||||
|
@ -90,8 +90,8 @@ job [[ .pg.instance | toJSON ]] {
|
|||
check {
|
||||
name = "ready"
|
||||
type = "script"
|
||||
interval = "5s"
|
||||
timeout = "5s"
|
||||
interval = "30s"
|
||||
timeout = "10s"
|
||||
task = "postgres"
|
||||
command = "pg_isready"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue