You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@apache.org on 2001/05/07 19:55:06 UTC
cvs commit: httpd-2.0/server scoreboard.c
trawick 01/05/07 10:55:05
Modified: server scoreboard.c
Log:
fix some generation logic/displays in mod_status by setting
the generation field in parent_score
Revision Changes Path
1.22 +2 -1 httpd-2.0/server/scoreboard.c
Index: scoreboard.c
===================================================================
RCS file: /home/cvs/httpd-2.0/server/scoreboard.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- scoreboard.c 2001/05/07 16:24:03 1.21
+++ scoreboard.c 2001/05/07 17:55:01 1.22
@@ -282,7 +282,8 @@
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) {