mirror of
https://github.com/apache/activemq-artemis.git
synced 2025-03-03 07:49:24 +00:00
ARTEMIS-3084 Issue a warning instead of blocking forever in case of not completing closes
This commit is contained in:
parent
b05bea7db9
commit
03b0fcd2c2
@ -138,6 +138,7 @@ public class AIOSequentialFile extends AbstractSequentialFile {
|
||||
short retryPending = 0;
|
||||
do {
|
||||
pendingCallbacks.await(1, TimeUnit.SECONDS);
|
||||
retryPending++;
|
||||
}
|
||||
while(pendingClose && retryPending < 60);
|
||||
if (pendingClose) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user