clebertsuconic commented on a change in pull request #3876:
URL: https://github.com/apache/activemq-artemis/pull/3876#discussion_r766670927
##########
File path:
artemis-protocols/artemis-openwire-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/openwire/OpenWireProtocolManager.java
##########
@@ -236,6 +238,18 @@ public void removeConnection(ConnectionInfo info,
Throwable error) throws Invali
}
}
+ /*** if set, the OpenWire connection will bypass the tcpReadBuferSize and
use this value instead.
+ * This is by default -1, and it should not be used unless in extreme
situations like on a slow storage. */
+ public int getMaxActorSize() {
Review comment:
@gtully if you have a slow device to sync, and you read say 1M worth of
data, but take more than the configured TTL to read again your clients will
start to fall apart.
This is a backup plan in case this scenario happens. By default it should
use the tcp-read-buffer, but when things fall apart you have the option to use
a lower read-value. I have seen that happening on my tests and I don't want to
take the risk without having a backup plan.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]