From 1349cb371ef5210cfb727bd6cebcb86927e00736 Mon Sep 17 00:00:00 2001 From: Kjeld Schouten-Lebbing Date: Wed, 1 Mar 2023 21:20:01 +0100 Subject: [PATCH] increase cnpg db waits --- library/common/Chart.yaml | 2 +- library/common/templates/lib/dependencies/_dbWait.tpl | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/library/common/Chart.yaml b/library/common/Chart.yaml index a4c7ae9e..912b7945 100644 --- a/library/common/Chart.yaml +++ b/library/common/Chart.yaml @@ -15,4 +15,4 @@ maintainers: name: common sources: null type: library -version: 12.2.5 +version: 12.2.6 diff --git a/library/common/templates/lib/dependencies/_dbWait.tpl b/library/common/templates/lib/dependencies/_dbWait.tpl index 91c7fed3..fa6ac49a 100644 --- a/library/common/templates/lib/dependencies/_dbWait.tpl +++ b/library/common/templates/lib/dependencies/_dbWait.tpl @@ -423,17 +423,18 @@ command: until echo "Testing database on url: {{ $cnpgName }}-rw" pg_isready -U {{ .user }} -h {{ $cnpgName }}-rw - do sleep 2 + do sleep 5 done {{ if $cnpg.acceptRO }} echo "Detected RO pooler, testing RO pooler availability..." until echo "Testing database on url: {{ $cnpgName }}-ro" pg_isready -U {{ .user }} -h {{ $cnpgName }}-ro - do sleep 2 + do sleep 5 done {{ end }} {{ end }} {{ end }} + do sleep 5 EOF {{- end -}}