Commit 14a80b7c authored by Ryan Bloom's avatar Ryan Bloom
Browse files

Clean the worker MPM a bit. This removes the idea of compiling worker

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
parent 0b9e008f
Loading
Loading
Loading
Loading
+1 −10
Original line number Diff line number Diff line
@@ -94,11 +94,8 @@
 * 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 8 
#define HARD_SERVER_LIMIT 16
#endif

/* Limit on the threads per process.  Clients will be locked out if more than
@@ -108,16 +105,10 @@
 * 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