VirtualMachineManager.checkWorkItems() uses wrong time unit

This commit is contained in:
Kelven Yang 2014-02-07 15:42:11 -08:00
parent dfb9f49117
commit e6e12e33de

View File

@ -636,7 +636,7 @@ public class VirtualMachineManagerImpl extends ManagerBase implements VirtualMac
}
try {
Thread.sleep(VmOpWaitInterval.value());
Thread.sleep(VmOpWaitInterval.value()*1000);
} catch (InterruptedException e) {
s_logger.info("Waiting for " + vm + " but is interrupted");
throw new ConcurrentOperationException("Waiting for " + vm + " but is interrupted");