bug 7794: sleep should be in out of try statement

status 7794: resolved fixed
This commit is contained in:
anthony 2010-12-30 16:08:19 -08:00
parent 355286e8f5
commit fc811e8d49

View File

@ -128,10 +128,6 @@ public class XenServerConnectionPool {
}
return true;
}
try {
Thread.sleep(2000);
} catch (InterruptedException e) {
}
} catch (Exception e) {
} finally {
if (slaveSession != null) {
@ -142,6 +138,10 @@ public class XenServerConnectionPool {
slaveConn.dispose();
}
}
try {
Thread.sleep(2000);
} catch (InterruptedException e) {
}
}
} catch (Exception e) {