ARTEMIS-1418 Fixing compilation

This commit is contained in:
Clebert Suconic 2017-09-13 16:19:39 -04:00
parent 94da3a8f26
commit 8156879cf1
1 changed files with 1 additions and 1 deletions

View File

@ -2413,7 +2413,7 @@ public class ActiveMQServerImpl implements ActiveMQServer {
}
try {
injectMonitor(new FileStoreMonitor(getScheduledPool(), executorFactory.getExecutor(), configuration.getDiskScanPeriod(), TimeUnit.MILLISECONDS, configuration.getMaxDiskUsage() / 100f, getCriticalIOErrorListener()));
injectMonitor(new FileStoreMonitor(getScheduledPool(), executorFactory.getExecutor(), configuration.getDiskScanPeriod(), TimeUnit.MILLISECONDS, configuration.getMaxDiskUsage() / 100f, shutdownOnCriticalIO));
} catch (Exception e) {
logger.warn(e.getMessage(), e);
}