]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
*) mod_heartmonitor: Set the documented default value
authorRainer Jung <rjung@apache.org>
Tue, 19 Apr 2022 08:59:47 +0000 (08:59 +0000)
committerRainer Jung <rjung@apache.org>
Tue, 19 Apr 2022 08:59:47 +0000 (08:59 +0000)
     "10" for HeartbeatMaxServers instead of "0". With "0"
     no shared memory slotmem was initialized. [Rainer Jung]

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

changes-entries/mod_heartmonitor-HeartbeatMaxServers.diff [new file with mode: 0644]
modules/cluster/mod_heartmonitor.c

diff --git a/changes-entries/mod_heartmonitor-HeartbeatMaxServers.diff b/changes-entries/mod_heartmonitor-HeartbeatMaxServers.diff
new file mode 100644 (file)
index 0000000..0e43927
--- /dev/null
@@ -0,0 +1,3 @@
+  *) mod_heartmonitor: Set the documented default value
+     "10" for HeartbeatMaxServers instead of "0". With "0"
+     no shared memory slotmem was initialized. [Rainer Jung]
index 4b1277a9c48895e5f2e615537dc10031068c9c70..30db11ac7b89678f4209ffdf78b777a4176815c2 100644 (file)
@@ -39,7 +39,7 @@
 
 static const ap_slotmem_provider_t *storage = NULL;
 static ap_slotmem_instance_t *slotmem = NULL;
-static int maxworkers = 0;
+static int maxworkers = 10;
 
 module AP_MODULE_DECLARE_DATA heartmonitor_module;