]> granicus.if.org Git - apache/commitdiff
don't wait nearly so long for child processes to go away
authorJeff Trawick <trawick@apache.org>
Sun, 24 Feb 2002 20:41:19 +0000 (20:41 +0000)
committerJeff Trawick <trawick@apache.org>
Sun, 24 Feb 2002 20:41:19 +0000 (20:41 +0000)
the adjustment of the wait time was done too soon

now the code should be consistent with 1.3 behavior

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93560 13f79535-47bb-0310-9956-ffa450edef68

server/mpm_common.c

index 29075e67e8a78dd3e5dd870b8c7d8b819bd2b1be..761e917effe285b0470d1acbe101a9730ac92ba3 100644 (file)
@@ -114,8 +114,8 @@ void ap_reclaim_child_processes(int terminate)
          * necessary, but we need to allow children a few moments to exit.
          * Set delay with an exponential backoff.
          */
-        waittime = waittime * 4;
         apr_sleep(waittime);
+        waittime = waittime * 4;
 
         /* now see who is done */
         not_dead_yet = 0;