mirror of https://github.com/apache/activemq.git
Only wait 1 second for connections to stop. When killing a stale
connection - if stop doesn't complete - it hangs the broker. git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@606241 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9f94b6c509
commit
34378e8ec1
|
@ -876,7 +876,7 @@ public class TransportConnection implements Service, Connection, Task, CommandVi
|
|||
doStop();
|
||||
stopLatch.countDown();
|
||||
} else {
|
||||
stopLatch.await();
|
||||
stopLatch.await(1, TimeUnit.SECONDS);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue