From: Rainer Jung Date: Wed, 13 Apr 2022 12:11:01 +0000 (+0000) Subject: mod_heartmonitor: Set the documented default value X-Git-Tag: 2.5.0-alpha2-ci-test-only~401 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6099d586f87b935f543bb7962cca05dd2b3aebd;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. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1899809 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index ae5bcce9cf4..df9686e7192 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 ] 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;