cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alena1...@apache.org
Subject git commit: updated refs/heads/master to d7216a7
Date Tue, 20 Aug 2013 18:36:43 GMT
Updated Branches:
  refs/heads/master b85d48495 -> d7216a776


CLOUDSTACK-4410: Parallel vm execution - turn on and off based on the global configuration
variable. Before the fix, was hard coded to on


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/d7216a77
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/d7216a77
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/d7216a77

Branch: refs/heads/master
Commit: d7216a776e9088bfb4272460da3d42c16df1fff1
Parents: b85d484
Author: Alena Prokharchyk <alena.prokharchyk@citrix.com>
Authored: Tue Aug 20 10:11:07 2013 -0700
Committer: Alena Prokharchyk <alena.prokharchyk@citrix.com>
Committed: Tue Aug 20 11:04:50 2013 -0700

----------------------------------------------------------------------
 server/src/com/cloud/server/ManagementServerImpl.java | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/d7216a77/server/src/com/cloud/server/ManagementServerImpl.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/server/ManagementServerImpl.java b/server/src/com/cloud/server/ManagementServerImpl.java
index 2941cc8..898351c 100755
--- a/server/src/com/cloud/server/ManagementServerImpl.java
+++ b/server/src/com/cloud/server/ManagementServerImpl.java
@@ -712,6 +712,7 @@ public class ManagementServerImpl extends ManagerBase implements ManagementServe
 
     private List<UserAuthenticator> _userAuthenticators;
     private List<UserAuthenticator> _userPasswordEncoders;
+    protected boolean _executeInSequence;
 
     protected List<DeploymentPlanner> _planners;
 
@@ -795,6 +796,8 @@ public class ManagementServerImpl extends ManagerBase implements ManagementServe
         for (String id : availableIds) {
             _availableIdsMap.put(id, true);
         }
+        
+        _executeInSequence = Boolean.parseBoolean(_configDao.getValue(Config.ExecuteInSequence.key()));
 
         return true;
     }
@@ -3460,7 +3463,7 @@ public class ManagementServerImpl extends ManagerBase implements ManagementServe
 
     @Override
     public boolean getExecuteInSequence() {
-        return false;  //To change body of implemented methods use File | Settings | File
Templates.
+        return  _executeInSequence;
     }
 
     private static String getBase64EncodedRandomKey(int nBits) {


Mime
View raw message