mirror of
https://github.com/apache/activemq-artemis.git
synced 2025-02-08 02:59: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);
|
notificationService.sendNotification(notification);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (batchDelay > 0) {
|
|
||||||
flusher = new BatchFlusher();
|
|
||||||
|
|
||||||
batchFlusherFuture = scheduledThreadPool.scheduleWithFixedDelay(flusher, batchDelay, batchDelay, TimeUnit.MILLISECONDS);
|
|
||||||
}
|
|
||||||
|
|
||||||
ActiveMQServerLogger.LOGGER.startedAcceptor(acceptorType, host, port, protocolsString);
|
ActiveMQServerLogger.LOGGER.startedAcceptor(acceptorType, host, port, protocolsString);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (batchDelay > 0) {
|
||||||
|
flusher = new BatchFlusher();
|
||||||
|
|
||||||
|
batchFlusherFuture = scheduledThreadPool.scheduleWithFixedDelay(flusher, batchDelay, batchDelay, TimeUnit.MILLISECONDS);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user