]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Clean the worker MPM a bit. This removes the idea of compiling worker
authorRyan Bloom <rbb@apache.org>
Mon, 24 Sep 2001 23:03:42 +0000 (23:03 +0000)
committerRyan Bloom <rbb@apache.org>
Mon, 24 Sep 2001 23:03:42 +0000 (23:03 +0000)
with no threads.  That doesn't make any sense anyway.  Also, raise
HARD_SERVER_LIMIT to 16, from 8.

Submitted by: "Ian Holsman" <ianh@cnet.com>

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

server/mpm/worker/mpm_default.h

index 84c1304bfa83f2a2142a649795517d4694e6747a..1d47cfe9b2c8125f62a79ad830cd5be601e5a0cf 100644 (file)
  * enough that we can read the whole thing without worrying too much about
  * the overhead.
  */
-#ifdef NO_THREADS
-#define HARD_SERVER_LIMIT 256
-#endif
 #ifndef HARD_SERVER_LIMIT
-#define HARD_SERVER_LIMIT 
+#define HARD_SERVER_LIMIT 16
 #endif
 
 /* Limit on the threads per process.  Clients will be locked out if more than
  * enough that we can read the whole thing without worrying too much about
  * the overhead.
  */
-#ifdef NO_THREADS
-#define HARD_THREAD_LIMIT 1
-#endif
 #ifndef HARD_THREAD_LIMIT
 #define HARD_THREAD_LIMIT 64 
 #endif
 
-#ifdef NO_THREADS
-#define DEFAULT_THREADS_PER_CHILD 1
-#endif
 #ifndef DEFAULT_THREADS_PER_CHILD
 #define DEFAULT_THREADS_PER_CHILD 25
 #endif