You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bf...@apache.org on 2013/09/26 20:03:06 UTC
[05/34] git commit: updated refs/heads/ui-restyle to 23093ed
Cloudstack-2997: the maxconn setting is masked by wrong conditions
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/77bec4f2
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/77bec4f2
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/77bec4f2
Branch: refs/heads/ui-restyle
Commit: 77bec4f2adf230a1b0b384922119892547ccc88a
Parents: 9fb0a1a
Author: Abhinandan Prateek <ap...@apache.org>
Authored: Wed Sep 25 21:09:24 2013 +0530
Committer: Abhinandan Prateek <ap...@apache.org>
Committed: Wed Sep 25 21:09:24 2013 +0530
----------------------------------------------------------------------
server/src/com/cloud/configuration/ConfigurationManagerImpl.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/77bec4f2/server/src/com/cloud/configuration/ConfigurationManagerImpl.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/configuration/ConfigurationManagerImpl.java b/server/src/com/cloud/configuration/ConfigurationManagerImpl.java
index 3c77958..f23d57d 100755
--- a/server/src/com/cloud/configuration/ConfigurationManagerImpl.java
+++ b/server/src/com/cloud/configuration/ConfigurationManagerImpl.java
@@ -3770,7 +3770,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()));