pgpool2.git / summary / log / commit / refs
commit 9306fba4fe5759ed75911795c7cb2f039a0b0f2b
Author: Tatsuo Ishii <ishii at sraoss.co.jp>
Date: Tue Aug 18 08:32:13 2009 +0000
Remove unneccessary call to send_frontend_exit() in do_child().
child.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/child.c b/child.c
index f59507ef3..6024197d4 100644
--- a/child.c
+++ b/child.c
@@ -189,7 +189,10 @@ void do_child(int unix_fd, int inet_fd)
timeout.tv_sec == 0 && timeout.tv_usec == 0)
{
pool_debug("child life %d seconds expired", pool_config->child_life_time);
- send_frontend_exits();
+ /*
+ * Doesn't need to call this. child_exit() calls it.
+ * send_frontend_exits();
+ */
child_exit(2);
}
continue;
[parent: 2ea86dae09ac]