From: Ryan Bloom Date: Mon, 24 Sep 2001 23:03:42 +0000 (+0000) Subject: Clean the worker MPM a bit. This removes the idea of compiling worker X-Git-Tag: 2.0.26~185 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=73e98fdd59a4583be2c7e0a534d988270380a5dd;p=thirdparty%2Fapache%2Fhttpd.git 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" git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91137 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/worker/mpm_default.h b/server/mpm/worker/mpm_default.h index 84c1304bfa8..1d47cfe9b2c 100644 --- a/server/mpm/worker/mpm_default.h +++ b/server/mpm/worker/mpm_default.h @@ -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