summaryrefslogtreecommitdiffstats
path: root/server/mpm_common.c
diff options
context:
space:
mode:
authorPaul J. Reder <rederpj@apache.org>2001-07-18 22:29:00 +0200
committerPaul J. Reder <rederpj@apache.org>2001-07-18 22:29:00 +0200
commit620a48e6099b08b7a806e0097223f06eab433ddb (patch)
treeeb468324461fdc880e26622221619695e7d4292a /server/mpm_common.c
parentBringing forward from 1.3: small changes to standardize argument types. (diff)
downloadapache2-620a48e6099b08b7a806e0097223f06eab433ddb.tar.xz
apache2-620a48e6099b08b7a806e0097223f06eab433ddb.zip
Changed AP_MPMQ_MAX_DAEMONS to refer to MaxClients and
added an AP_MPMQ_MAX_DAEMON_USED to refer to the highest daemon index actually used in the scoreboard. I also updated the pertinent calls. Paul J. Reder git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89604 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/mpm_common.c')
-rw-r--r--server/mpm_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/mpm_common.c b/server/mpm_common.c
index 006d813341..c79eeb52a1 100644
--- a/server/mpm_common.c
+++ b/server/mpm_common.c
@@ -97,7 +97,7 @@ void ap_reclaim_child_processes(int terminate)
int not_dead_yet;
int max_daemons;
- ap_mpm_query(AP_MPMQ_MAX_DAEMONS, &max_daemons);
+ ap_mpm_query(AP_MPMQ_MAX_DAEMON_USED, &max_daemons);
MPM_SYNC_CHILD_TABLE();
for (tries = terminate ? 4 : 1; tries <= 9; ++tries) {