From 8bf91adeed95e94a430c4f0e0e973d5a733d59b1 Mon Sep 17 00:00:00 2001 From: glyn Date: Mon, 12 Jan 2015 11:27:47 +0000 Subject: [PATCH] When we repoint an rw server it is perhaps better to force clients to reconnect with a restart --- pgbouncer_follower_rw.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pgbouncer_follower_rw.conf b/pgbouncer_follower_rw.conf index ac5a6f9..f06fa44 100755 --- a/pgbouncer_follower_rw.conf +++ b/pgbouncer_follower_rw.conf @@ -38,7 +38,7 @@ log_file=/var/slony/pgbouncer_follower/pgbouncer_follower_%mode.log pid_file=/var/run/pgbouncer_follower_%mode.pid # Pidfile for poll mode pool_conf_template=/etc/pgbouncer/pgbouncer_%mode.template # Template configuration file pool_conf_target=/etc/pgbouncer/pgbouncer_%mode.ini # Target configuration file to be modified -pool_reload_command=/etc/init.d/pgbouncer_%mode reload # Command used to action configuration changes +pool_reload_command=/etc/init.d/pgbouncer_%mode restart # Command used to action configuration changes # Sepcial values for status_file, log_file, pool_conf_template # pool_conf_target and pool_reload_command parameters: # %mode - Pool Mode -- 2.39.5