[ 
https://issues.apache.org/jira/browse/ARTEMIS-3604?focusedWorklogId=693946&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-693946
 ]

ASF GitHub Bot logged work on ARTEMIS-3604:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 10/Dec/21 13:18
            Start Date: 10/Dec/21 13:18
    Worklog Time Spent: 10m 
      Work Description: 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]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 693946)
    Time Spent: 2h  (was: 1h 50m)

> Async sends could overflow server with messages in openwire
> -----------------------------------------------------------
>
>                 Key: ARTEMIS-3604
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3604
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Clebert Suconic
>            Assignee: Clebert Suconic
>            Priority: Major
>             Fix For: 2.20.0
>
>          Time Spent: 2h
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to