Robbie Gemmell created PROTON-1739: -------------------------------------- Summary: remove confusing default for session capacity and allow disabling it Key: PROTON-1739 URL: https://issues.apache.org/jira/browse/PROTON-1739 Project: Qpid Proton Issue Type: Improvement Components: proton-j Affects Versions: proton-j-0.24.0 Reporter: Robbie Gemmell Assignee: Robbie Gemmell Fix For: proton-j-0.25.0
The session has a default 'incoming capacity' of 1MB, which actually has no effect by default and leads to unexpected behaviour while changing other configuration. It should be removed. The value is used when the engine decides what incoming session window to set on Flow frames, but only if a specific frame size is configured for the transport, which it isn't by default. If a specific frame size is set, then any session capacity really needs to be set based on it in order to be appropriate, the default being fixed as it is leads to unexpectedly low window sizes in many cases which will impact performance in unexpected ways. Its confusing that setting frame size results in completely different behaviour than before for another thing (window size) which perhaps hasn't been configured at all, and the existing behaviour is also such that you cant turn it off. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org