]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
mod_heartmonitor: Set the documented default value
authorRainer Jung <rjung@apache.org>
Wed, 13 Apr 2022 12:11:01 +0000 (12:11 +0000)
committerRainer Jung <rjung@apache.org>
Wed, 13 Apr 2022 12:11:01 +0000 (12:11 +0000)
"10" for HeartbeatMaxServers instead of "0". With "0"
no shared memory slotmem was initialized.

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

CHANGES
modules/cluster/mod_heartmonitor.c

diff --git a/CHANGES b/CHANGES
index ae5bcce9cf41de131fa7d8240c9e15353c584275..df9686e71926c8bf022d99c4dbdc0c798cfa6fff 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,10 @@
                                                          -*- coding: utf-8 -*-
 Changes with Apache 2.5.1
 
+  *) mod_heartmonitor: Set the documented default value
+     "10" for HeartbeatMaxServers instead of "0". With "0"
+     no shared memory slotmem was initialized. [Rainer Jung]
+
   *) mod_systemd: Systemd socket activation can now be enabled at
      build time but disabled at run time, if mod_systemd is not
      loaded.  [Lubos Uhliarik <luhliari redhat.com>]
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;