summaryrefslogtreecommitdiff
path: root/modules/cluster
diff options
context:
space:
mode:
authorRainer Jung <rjung@apache.org>2022-04-13 12:11:01 +0000
committerRainer Jung <rjung@apache.org>2022-04-13 12:11:01 +0000
commitc6099d586f87b935f543bb7962cca05dd2b3aebd (patch)
tree1af9ae5395c5afb023639cd64fdaca8b3c03fe5a /modules/cluster
parent5d3b2f1f0c37f672d313b60f5b7412ff3f7090e6 (diff)
downloadhttpd-c6099d586f87b935f543bb7962cca05dd2b3aebd.tar.gz
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
Diffstat (limited to 'modules/cluster')
-rw-r--r--modules/cluster/mod_heartmonitor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/cluster/mod_heartmonitor.c b/modules/cluster/mod_heartmonitor.c
index 2e8d12dd2e..bfda7f883e 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;