mirror of https://github.com/apache/cloudstack.git
Cloudstack-2997: the maxconn setting is masked by wrong conditions
This commit is contained in:
parent
143fb72e8b
commit
2be3678602
|
|
@ -4001,7 +4001,7 @@ public class ConfigurationManagerImpl extends ManagerBase implements Configurati
|
|||
}
|
||||
validateLoadBalancerServiceCapabilities(lbServiceCapabilityMap);
|
||||
|
||||
if (!serviceProviderMap.containsKey(Service.Lb) && lbServiceCapabilityMap != null && !lbServiceCapabilityMap.isEmpty()) {
|
||||
if (lbServiceCapabilityMap != null && !lbServiceCapabilityMap.isEmpty()) {
|
||||
maxconn = cmd.getMaxconnections();
|
||||
if (maxconn == null) {
|
||||
maxconn=Integer.parseInt(_configDao.getValue(Config.NetworkLBHaproxyMaxConn.key()));
|
||||
|
|
|
|||
Loading…
Reference in New Issue