From dfaf893a30298fcb0b6c7b26f9da4a8b3e476b09 Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Wed, 19 Dec 2001 16:23:34 +0000 Subject: [PATCH] for the netware MPM, move HARD_THREAD_LIMIT back to mpm_default.h where the other user-tunable compile-time parameters are HARD_SERVER_LIMIT stays in mpm_netware.c since it can't really be changed git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92533 13f79535-47bb-0310-9956-ffa450edef68 --- server/mpm/netware/mpm_default.h | 11 +++++++++++ server/mpm/netware/mpm_netware.c | 11 ----------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/server/mpm/netware/mpm_default.h b/server/mpm/netware/mpm_default.h index 05abdf01f3..8be5919321 100644 --- a/server/mpm/netware/mpm_default.h +++ b/server/mpm/netware/mpm_default.h @@ -80,6 +80,17 @@ #define DEFAULT_MIN_FREE_DAEMON 1 #endif +/* Limit on the threads per process. Clients will be locked out if more than + * this * HARD_SERVER_LIMIT are needed. + * + * We keep this for one reason it keeps the size of the scoreboard file small + * enough that we can read the whole thing without worrying too much about + * the overhead. + */ +#ifndef HARD_THREAD_LIMIT +#define HARD_THREAD_LIMIT 2048 +#endif + #ifndef DEFAULT_THREADS_PER_CHILD #define DEFAULT_THREADS_PER_CHILD 50 #endif diff --git a/server/mpm/netware/mpm_netware.c b/server/mpm/netware/mpm_netware.c index dd3581a3fc..ada109b545 100644 --- a/server/mpm/netware/mpm_netware.c +++ b/server/mpm/netware/mpm_netware.c @@ -140,17 +140,6 @@ #define HARD_SERVER_LIMIT 1 #endif -/* Limit on the threads per process. Clients will be locked out if more than - * this * HARD_SERVER_LIMIT are needed. - * - * We keep this for one reason it keeps the size of the scoreboard file small - * enough that we can read the whole thing without worrying too much about - * the overhead. - */ -#ifndef HARD_THREAD_LIMIT -#define HARD_THREAD_LIMIT 2048 -#endif - #define WORKER_DEAD SERVER_DEAD #define WORKER_STARTING SERVER_STARTING #define WORKER_READY SERVER_READY -- 2.40.0