mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
use correct interval for cleanTask and transitionTask
This commit is contained in:
parent
3d497f620b
commit
6d103e62fe
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user