Loading pgpool/configure.sh +3 −0 Original line number Diff line number Diff line Loading @@ -117,6 +117,9 @@ if [[ $DB_CLUSTER == false ]]; then sed -i '/^backend_weight/s/^/#/' $PGPOOL_CONFIG sed -i '/^backend_data_directory/s/^/#/' $PGPOOL_CONFIG sed -i '/^backend_flag/s/^/#/' $PGPOOL_CONFIG else sed -i 's/num_init_children = 32/num_init_children = 1000/g' $PGPOOL_CONFIG sed -i 's/max_pool = 4/max_pool = 1/g' $PGPOOL_CONFIG fi echo "postgres:"`pg_md5 postgres` >> $PGPOOL_DIR/pcp.conf Loading Loading
pgpool/configure.sh +3 −0 Original line number Diff line number Diff line Loading @@ -117,6 +117,9 @@ if [[ $DB_CLUSTER == false ]]; then sed -i '/^backend_weight/s/^/#/' $PGPOOL_CONFIG sed -i '/^backend_data_directory/s/^/#/' $PGPOOL_CONFIG sed -i '/^backend_flag/s/^/#/' $PGPOOL_CONFIG else sed -i 's/num_init_children = 32/num_init_children = 1000/g' $PGPOOL_CONFIG sed -i 's/max_pool = 4/max_pool = 1/g' $PGPOOL_CONFIG fi echo "postgres:"`pg_md5 postgres` >> $PGPOOL_DIR/pcp.conf Loading