From 5112dac930bf774fafa8c6fdfc37df254feae69a Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Mon, 7 May 2001 17:55:01 +0000 Subject: [PATCH] fix some generation logic/displays in mod_status by setting the generation field in parent_score git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89050 13f79535-47bb-0310-9956-ffa450edef68 --- server/scoreboard.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/scoreboard.c b/server/scoreboard.c index 82531c997a..880dbeb63e 100644 --- a/server/scoreboard.c +++ b/server/scoreboard.c @@ -282,7 +282,8 @@ int ap_update_child_status(int child_num, int thread_num, int status, request_re if ((status == SERVER_READY || status == SERVER_ACCEPTING) && old_status == SERVER_STARTING) { ss->thread_num = child_num * HARD_SERVER_LIMIT + thread_num; - ps->worker_threads = ap_threads_per_child; + ps->generation = ap_my_generation; + ps->worker_threads = ap_threads_per_child; } if (ap_extended_status) { -- 2.50.1