ARTEMIS-2807 avoid notifications on critical IO error
This commit is contained in:
parent
8e8bbc93ac
commit
79e05774b8
|
@ -1071,6 +1071,11 @@ public class ActiveMQServerImpl implements ActiveMQServer {
|
|||
}
|
||||
state = SERVER_STATE.STOPPING;
|
||||
|
||||
if (criticalIOError) {
|
||||
// notifications trigger disk IO so we don't want to send any on a critical IO error
|
||||
managementService.enableNotifications(false);
|
||||
}
|
||||
|
||||
if (fileStoreMonitor != null) {
|
||||
fileStoreMonitor.stop();
|
||||
fileStoreMonitor = null;
|
||||
|
|
Loading…
Reference in New Issue