summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorRainer Jung <rjung@apache.org>2022-06-21 12:10:29 +0200
committerRainer Jung <rjung@apache.org>2022-06-21 12:10:29 +0200
commitdf3ba890a929984811c8d0874c5192a9ecf38af8 (patch)
treef7351de6a4f1babec11a3eb2e4bfe466c284a79b /modules
parent*) mod_heartmonitor: Allow "HeartbeatMaxServers 0" (diff)
downloadapache2-df3ba890a929984811c8d0874c5192a9ecf38af8.tar.xz
apache2-df3ba890a929984811c8d0874c5192a9ecf38af8.zip
Fix numeric check for HeartbeatMaxServers.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1902130 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules')
-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 d3d09f76c2..53b650469d 100644
--- a/modules/cluster/mod_heartmonitor.c
+++ b/modules/cluster/mod_heartmonitor.c
@@ -892,7 +892,7 @@ static const char *cmd_hm_maxworkers(cmd_parms *cmd,
}
maxworkers = atoi(data);
- if (maxworkers != 0 && maxworkers <= 10)
+ if (maxworkers != 0 && maxworkers < 10)
return "HeartbeatMaxServers: Should be 0 for file storage, "
"or greater or equal than 10 for slotmem";