]> granicus.if.org Git - apache/commitdiff
for the netware MPM, move HARD_THREAD_LIMIT back to mpm_default.h where
authorJeff Trawick <trawick@apache.org>
Wed, 19 Dec 2001 16:23:34 +0000 (16:23 +0000)
committerJeff Trawick <trawick@apache.org>
Wed, 19 Dec 2001 16:23:34 +0000 (16:23 +0000)
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
server/mpm/netware/mpm_netware.c

index 05abdf01f3f145abccc8e4f2339678c05a3ad25a..8be591932178a3cb2a5ab535a7164e03f7a93f6d 100644 (file)
 #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
index dd3581a3fc926364d39e581cdf626b4c2d083cd5..ada109b5451a269bd599b75231690a81ca4a6d76 100644 (file)
 #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