summaryrefslogtreecommitdiff
path: root/modules/cluster
diff options
context:
space:
mode:
authorRainer Jung <rjung@apache.org>2022-06-21 10:10:29 +0000
committerRainer Jung <rjung@apache.org>2022-06-21 10:10:29 +0000
commitdf3ba890a929984811c8d0874c5192a9ecf38af8 (patch)
treef7351de6a4f1babec11a3eb2e4bfe466c284a79b /modules/cluster
parent622fed589cef3eff746f54ef0eab91da058b90d6 (diff)
downloadhttpd-df3ba890a929984811c8d0874c5192a9ecf38af8.tar.gz
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/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 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";