]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Merge r1900026 from trunk:
authorJim Jagielski <jim@apache.org>
Mon, 9 May 2022 17:54:42 +0000 (17:54 +0000)
committerJim Jagielski <jim@apache.org>
Mon, 9 May 2022 17:54:42 +0000 (17:54 +0000)
  *) mod_heartmonitor: Set the documented default value
     "10" for HeartbeatMaxServers instead of "0". With "0"
     no shared memory slotmem was initialized. [Rainer Jung]

Submitted by: rjung
Reviewed by: 1899841

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1900751 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 2e8d12dd2e6bbb2fffa4ebd3206fc241a2524fc1..bfda7f883e2a95010c528bfda7610909e8d49d3e 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;