This closes #1309
This commit is contained in:
commit
567b0741cc
|
@ -340,14 +340,14 @@ public class NettyAcceptor extends AbstractAcceptor {
|
|||
notificationService.sendNotification(notification);
|
||||
}
|
||||
|
||||
if (batchDelay > 0) {
|
||||
flusher = new BatchFlusher();
|
||||
|
||||
batchFlusherFuture = scheduledThreadPool.scheduleWithFixedDelay(flusher, batchDelay, batchDelay, TimeUnit.MILLISECONDS);
|
||||
}
|
||||
|
||||
ActiveMQServerLogger.LOGGER.startedAcceptor(host, port, protocolsString);
|
||||
}
|
||||
|
||||
if (batchDelay > 0) {
|
||||
flusher = new BatchFlusher();
|
||||
|
||||
batchFlusherFuture = scheduledThreadPool.scheduleWithFixedDelay(flusher, batchDelay, batchDelay, TimeUnit.MILLISECONDS);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue