pgpool2.git / summary / log / commit / refs
commit b13f68e4443fce4a46bd523e401a2a9f6ecce27a
Author: Tatsuo Ishii <ishii@postgresql.org>
Date: Tue Jan 23 04:24:40 2018 +0000
Fix per node health check parameters.
Some them were string types, that should have been integer types.
src/test/pgpool_setup | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/test/pgpool_setup b/src/test/pgpool_setup
index 2ae31ccd8..2638b2f32 100755
--- a/src/test/pgpool_setup
+++ b/src/test/pgpool_setup
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
#
-# Copyright (c) 2013-2017 PgPool Global Development Group
+# Copyright (c) 2013-2018 PgPool Global Development Group
#
# Permission to use, copy, modify, and distribute this software and
# its documentation for any purpose and without fee is hereby
@@ -497,9 +497,9 @@ function set_pgpool_conf {
echo "health_check_user$n = '$WHOAMI'" >> $CONF
echo "health_check_password$n = ''" >> $CONF
echo "health_check_database$n = 'postgres'" >> $CONF
- echo "health_check_max_retries$n = '3'" >> $CONF
- echo "health_check_retry_delay$n = '1'" >> $CONF
- echo "connect_timeout$n = '1000'" >> $CONF
+ echo "health_check_max_retries$n = 3" >> $CONF
+ echo "health_check_retry_delay$n = 1" >> $CONF
+ echo "connect_timeout$n = 1000" >> $CONF
n=`expr $n + 1`
done
OIDDIR=$BASEDIR/log/pgpool/oiddir
[parent: 000b6b6ea0ee]