Add missing health_check_timeout in pgpool_setup.
authorTatsuo Ishii <ishii@postgresql.org>
Fri, 4 May 2018 08:35:31 +0000 (17:35 +0900)
committerTatsuo Ishii <ishii@postgresql.org>
Fri, 4 May 2018 08:35:31 +0000 (17:35 +0900)
Per node health_check_timeout was missing and this should had been
there since the per node health check parameter support was added.

src/test/pgpool_setup

index 988b0e66de384fbb4fc59b683ff542d97a86af02..1e758b15b5e9ea06ff371b06b6aacc01aa45c5b1 100755 (executable)
@@ -532,6 +532,7 @@ function set_pgpool_conf {
        while [ $n -lt $NUMCLUSTERS ]
        do
            echo "health_check_period$n = 10" >> $CONF
+           echo "health_check_timeout$n = 20" >> $CONF
            echo "health_check_user$n = '$WHOAMI'" >> $CONF
            echo "health_check_password$n = ''" >> $CONF
            echo "health_check_database$n = 'postgres'" >> $CONF