summaryrefslogtreecommitdiffstats
path: root/server/mpm/event/event.c
diff options
context:
space:
mode:
authorStefan Fritsch <sf@apache.org>2016-11-21 22:41:23 +0100
committerStefan Fritsch <sf@apache.org>2016-11-21 22:41:23 +0100
commit31857a5cfabcd44d6a3299a20f7455a72db13ae5 (patch)
treedf90ba78f494de2f87a69ef7da5f02eecdbac0f4 /server/mpm/event/event.c
parentUse all available scoreboard slots (diff)
downloadapache2-31857a5cfabcd44d6a3299a20f7455a72db13ae5.tar.xz
apache2-31857a5cfabcd44d6a3299a20f7455a72db13ae5.zip
mpm_event: add clarifying comment
from jim git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1770768 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--server/mpm/event/event.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/mpm/event/event.c b/server/mpm/event/event.c
index 22ff6148bc..01dc6c5eb7 100644
--- a/server/mpm/event/event.c
+++ b/server/mpm/event/event.c
@@ -3159,6 +3159,7 @@ static void server_main_loop(int remaining_children_to_start, int num_buckets)
if (!ps->quiescing)
active_daemons--;
ps->quiescing = 0;
+ /* NOTE: We don't dec in the (child_slot < 0) case! */
retained->total_daemons--;
if (processed_status == APEXIT_CHILDSICK) {
/* resource shortage, minimize the fork rate */