shirenchuang opened a new issue, #7175: URL: https://github.com/apache/rocketmq/issues/7175
### Before Creating the Enhancement Request - [X] I have confirmed that this should be classified as an enhancement rather than a bug/feature. ### Summary  在构造函数这样设置最小数 10 和 1M,是想让最低限流阈值不低于10和1M吗? 那是不是需要再Producer#setSemaphoreAsyncSendNum 和 Producer#setSemaphoreAsyncSendSize也限制一下? 不确定是不是我理解的意思 Are you setting the minimum values of 10 and 1M in the constructor to ensure that the minimum flow control threshold is not lower than 10 and 1M? In that case, do you also need to limit the Producer's setSemaphoreAsyncSendNum and setSemaphoreAsyncSendSize? I'm not sure if I understand correctly. ### Motivation ```java public void setSemaphoreAsyncSendNum(int num) { semaphoreAsyncSendNum = new Semaphore(num, true); } public void setSemaphoreAsyncSendSize(int size) { semaphoreAsyncSendSize = new Semaphore(size, true); } ``` ==>> ? ```java public void setSemaphoreAsyncSendNum(int num) { semaphoreAsyncSendNum = new Semaphore(Math.max(num,10), true); } public void setSemaphoreAsyncSendSize(int size) { semaphoreAsyncSendSize = new Semaphore(Math.max(size,1024 * 1024), true); } ``` ### Describe the Solution You'd Like . ### Describe Alternatives You've Considered . ### Additional Context _No response_ -- 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]
