From: Jim Jagielski Date: Mon, 9 May 2022 17:54:42 +0000 (+0000) Subject: Merge r1900026 from trunk: X-Git-Tag: 2.4.54-rc1-candidate~86 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b64b0488b12dc81df972bff4747d9b9c68fbad3f;p=thirdparty%2Fapache%2Fhttpd.git Merge r1900026 from trunk: *) 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 --- 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 2e8d12dd2e6..bfda7f883e2 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;