aboutsummaryrefslogtreecommitdiff
path: root/app/postgres
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2021-03-07 18:29:56 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2021-03-07 18:29:56 +0100
commit255e3fd2d74d80903beea17217f57b32171fbe99 (patch)
tree31fb604cb8434a06d66b8898adfa858b0658da86 /app/postgres
parenteb3f64df4126c9596a2b181f0f225c4b7b97577a (diff)
downloadinfrastructure-255e3fd2d74d80903beea17217f57b32171fbe99.tar.gz
infrastructure-255e3fd2d74d80903beea17217f57b32171fbe99.zip
Debug stolon proxy
Diffstat (limited to 'app/postgres')
-rw-r--r--app/postgres/deploy/postgres.hcl5
1 files changed, 1 insertions, 4 deletions
diff --git a/app/postgres/deploy/postgres.hcl b/app/postgres/deploy/postgres.hcl
index db62522..8c72ee3 100644
--- a/app/postgres/deploy/postgres.hcl
+++ b/app/postgres/deploy/postgres.hcl
@@ -5,10 +5,8 @@ job "postgres" {
update {
max_parallel = 1
- health_check = "checks"
min_healthy_time = "2m"
healthy_deadline = "5m"
- progress_deadline = "10m"
auto_revert = true
}
@@ -51,8 +49,7 @@ job "postgres" {
"--store-endpoints", "http://consul.service.2.cluster.deuxfleurs.fr:8500",
"--port", "${NOMAD_PORT_psql_proxy_port}",
"--listen-address", "0.0.0.0",
- "--stop-listening", "false",
- "--store-timeout", "120s"
+ "--log-level", "debug"
]
ports = [ "psql_proxy_port" ]
}