From: Colm MacCarthaigh Date: Sat, 27 Aug 2005 23:04:17 +0000 (+0000) Subject: Re-add a simple, obvious, speed-up. X-Git-Tag: 2.3.0~3057 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b4b88ed36532d2acbc0bb96e6f2b1d85e94c6d63;p=apache Re-add a simple, obvious, speed-up. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@241814 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/prefork/prefork.c b/server/mpm/prefork/prefork.c index 299d4c3ae4..7204f258ac 100644 --- a/server/mpm/prefork/prefork.c +++ b/server/mpm/prefork/prefork.c @@ -1172,6 +1172,7 @@ int ap_mpm_run(apr_pool_t *_pconf, apr_pool_t *plog, server_rec *s) if (kill(MPM_CHILD_PID(index), 0) == 0) { active_children = 1; /* Having just one child is enough to stay around */ + break; } } }