Author: borges
Date: 2011-10-20 07:00:32 -0400 (Thu, 20 Oct 2011)
New Revision: 11567
Modified:
trunk/hornetq-core/src/main/java/org/hornetq/core/server/impl/HornetQServerImpl.java
Log:
HORNETQ-720 don't wait around if server is stopped
Modified:
trunk/hornetq-core/src/main/java/org/hornetq/core/server/impl/HornetQServerImpl.java
===================================================================
---
trunk/hornetq-core/src/main/java/org/hornetq/core/server/impl/HornetQServerImpl.java 2011-10-20
11:00:16 UTC (rev 11566)
+++
trunk/hornetq-core/src/main/java/org/hornetq/core/server/impl/HornetQServerImpl.java 2011-10-20
11:00:32 UTC (rev 11567)
@@ -2127,7 +2127,7 @@
while (true)
{
nodeManager.awaitLiveNode();
- if (quorumManager.isNodeDown())
+ if (!started || quorumManager.isNodeDown())
{
break;
}