diff options
author | Rainer Jung <rjung@apache.org> | 2022-06-21 10:10:29 +0000 |
---|---|---|
committer | Rainer Jung <rjung@apache.org> | 2022-06-21 10:10:29 +0000 |
commit | df3ba890a929984811c8d0874c5192a9ecf38af8 (patch) | |
tree | f7351de6a4f1babec11a3eb2e4bfe466c284a79b /modules/cluster | |
parent | 622fed589cef3eff746f54ef0eab91da058b90d6 (diff) | |
download | httpd-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.c | 2 |
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"; |