From 6a0896d6938d96e99b2a782b9fb99649a711fe9f Mon Sep 17 00:00:00 2001 From: Rainer Jung Date: Tue, 19 Apr 2022 08:59:47 +0000 Subject: [PATCH] *) mod_heartmonitor: Set the documented default value "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 | 3 +++ modules/cluster/mod_heartmonitor.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 changes-entries/mod_heartmonitor-HeartbeatMaxServers.diff diff --git a/changes-entries/mod_heartmonitor-HeartbeatMaxServers.diff b/changes-entries/mod_heartmonitor-HeartbeatMaxServers.diff new file mode 100644 index 00000000000..0e43927ba90 --- /dev/null +++ b/changes-entries/mod_heartmonitor-HeartbeatMaxServers.diff @@ -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] diff --git a/modules/cluster/mod_heartmonitor.c b/modules/cluster/mod_heartmonitor.c index 4b1277a9c48..30db11ac7b8 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; -- 2.47.2