mirror of
https://github.com/apache/activemq-artemis.git
synced 2025-02-07 18:49:14 +00:00
This closes #1297
This commit is contained in:
commit
335381d195
@ -380,14 +380,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(acceptorType, host, port, protocolsString);
|
||||
}
|
||||
|
||||
if (batchDelay > 0) {
|
||||
flusher = new BatchFlusher();
|
||||
|
||||
batchFlusherFuture = scheduledThreadPool.scheduleWithFixedDelay(flusher, batchDelay, batchDelay, TimeUnit.MILLISECONDS);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
x
Reference in New Issue
Block a user