]> granicus.if.org Git - apache/commitdiff
fix some generation logic/displays in mod_status by setting
authorJeff Trawick <trawick@apache.org>
Mon, 7 May 2001 17:55:01 +0000 (17:55 +0000)
committerJeff Trawick <trawick@apache.org>
Mon, 7 May 2001 17:55:01 +0000 (17:55 +0000)
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

index 82531c997a1a38dea8572f46d2247b680958eeaa..880dbeb63e9ecacd0f94b4b82a5bed9a1866e8b8 100644 (file)
@@ -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) {