You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rj...@apache.org on 2022/04/19 08:59:47 UTC

svn commit: r1900026 - in /httpd/httpd/trunk: changes-entries/mod_heartmonitor-HeartbeatMaxServers.diff modules/cluster/mod_heartmonitor.c

Author: rjung
Date: Tue Apr 19 08:59:47 2022
New Revision: 1900026

URL: http://svn.apache.org/viewvc?rev=1900026&view=rev
Log:
  *) mod_heartmonitor: Set the documented default value
     "10" for HeartbeatMaxServers instead of "0". With "0"
     no shared memory slotmem was initialized. [Rainer Jung]

Added:
    httpd/httpd/trunk/changes-entries/mod_heartmonitor-HeartbeatMaxServers.diff
Modified:
    httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c

Added: httpd/httpd/trunk/changes-entries/mod_heartmonitor-HeartbeatMaxServers.diff
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/changes-entries/mod_heartmonitor-HeartbeatMaxServers.diff?rev=1900026&view=auto
==============================================================================
--- httpd/httpd/trunk/changes-entries/mod_heartmonitor-HeartbeatMaxServers.diff (added)
+++ httpd/httpd/trunk/changes-entries/mod_heartmonitor-HeartbeatMaxServers.diff Tue Apr 19 08:59:47 2022
@@ -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]

Modified: httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c?rev=1900026&r1=1900025&r2=1900026&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c (original)
+++ httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c Tue Apr 19 08:59:47 2022
@@ -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;