NO-JIRA small tweak on comment
This commit is contained in:
parent
c01833aa3f
commit
9647e6555f
|
@ -743,7 +743,7 @@ public final class ReplicationManager implements ActiveMQComponent {
|
||||||
try {
|
try {
|
||||||
try (FileInputStream fis = new FileInputStream(file.getJavaFile()); FileChannel channel = fis.getChannel()) {
|
try (FileInputStream fis = new FileInputStream(file.getJavaFile()); FileChannel channel = fis.getChannel()) {
|
||||||
|
|
||||||
// We can afford having a single buffer here for this entire loop
|
// We cannot afford having a single buffer here for this entire loop
|
||||||
// because sendReplicatePacket will encode the packet as a NettyBuffer
|
// because sendReplicatePacket will encode the packet as a NettyBuffer
|
||||||
// through ActiveMQBuffer class leaving this buffer free to be reused on the next copy
|
// through ActiveMQBuffer class leaving this buffer free to be reused on the next copy
|
||||||
while (true) {
|
while (true) {
|
||||||
|
|
Loading…
Reference in New Issue