From: Rainer Jung Date: Tue, 19 Apr 2022 08:59:47 +0000 (+0000) Subject: *) mod_heartmonitor: Set the documented default value X-Git-Tag: 2.5.0-alpha2-ci-test-only~383 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a0896d6938d96e99b2a782b9fb99649a711fe9f;p=thirdparty%2Fapache%2Fhttpd.git *) 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 --- 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;