Repository: cloudstack
Updated Branches:
  refs/heads/master 3d497f620 -> 6de28bb1a


use correct interval for cleanTask and transitionTask


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

Branch: refs/heads/master
Commit: 6d103e62fe62c9657aea728527872bc100f1ae29
Parents: 3d497f6
Author: Anthony Xu <[email protected]>
Authored: Tue Mar 25 12:04:51 2014 -0700
Committer: Anthony Xu <[email protected]>
Committed: Wed Mar 26 14:22:27 2014 -0700

----------------------------------------------------------------------
 .../src/com/cloud/vm/VirtualMachineManagerImpl.java              | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/6d103e62/engine/orchestration/src/com/cloud/vm/VirtualMachineManagerImpl.java
----------------------------------------------------------------------
diff --git 
a/engine/orchestration/src/com/cloud/vm/VirtualMachineManagerImpl.java 
b/engine/orchestration/src/com/cloud/vm/VirtualMachineManagerImpl.java
index f071c9e..e842d95 100755
--- a/engine/orchestration/src/com/cloud/vm/VirtualMachineManagerImpl.java
+++ b/engine/orchestration/src/com/cloud/vm/VirtualMachineManagerImpl.java
@@ -569,8 +569,8 @@ public class VirtualMachineManagerImpl extends ManagerBase 
implements VirtualMac
     @Override
     public boolean start() {
         // TODO, initial delay is hardcoded
-        _executor.scheduleAtFixedRate(new TransitionTask(), 5000, 
VmJobStateReportInterval.value(), TimeUnit.SECONDS);
-        _executor.scheduleAtFixedRate(new CleanupTask(), 
VmOpCleanupInterval.value(), VmOpCleanupInterval.value(), TimeUnit.SECONDS);
+        _executor.scheduleAtFixedRate(new CleanupTask(), 5000, 
VmJobStateReportInterval.value(), TimeUnit.SECONDS);
+        _executor.scheduleAtFixedRate(new TransitionTask(),  
VmOpCleanupInterval.value(), VmOpCleanupInterval.value(), TimeUnit.SECONDS);
         cancelWorkItems(_nodeId);
 
         // cleanup left over place holder works

Reply via email to