summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Jung <rjung@apache.org>2022-04-13 14:11:01 +0200
committerRainer Jung <rjung@apache.org>2022-04-13 14:11:01 +0200
commitc6099d586f87b935f543bb7962cca05dd2b3aebd (patch)
tree1af9ae5395c5afb023639cd64fdaca8b3c03fe5a
parent *) mod_http2: use the new REQUEST buckets to forward request (diff)
downloadapache2-c6099d586f87b935f543bb7962cca05dd2b3aebd.tar.xz
apache2-c6099d586f87b935f543bb7962cca05dd2b3aebd.zip
mod_heartmonitor: Set the documented default value
"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
-rw-r--r--CHANGES4
-rw-r--r--modules/cluster/mod_heartmonitor.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/CHANGES b/CHANGES
index ae5bcce9cf..df9686e719 100644
--- 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>]
diff --git a/modules/cluster/mod_heartmonitor.c b/modules/cluster/mod_heartmonitor.c
index 2e8d12dd2e..bfda7f883e 100644
--- a/modules/cluster/mod_heartmonitor.c
+++ b/modules/cluster/mod_heartmonitor.c
@@ -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;