zhihaooooo opened a new issue, #6549:
URL: https://github.com/apache/rocketmq/issues/6549

   
rocketmq-rocketmq-all-5.0.0/client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java
   
   
   Line 150 should be getBackPressureForAsyncSendSize
   
   ``
   if (defaultMQProducer.getBackPressureForAsyncSendNum() > 1024 * 1024) {
               semaphoreAsyncSendSize = new 
Semaphore(Math.max(defaultMQProducer.getBackPressureForAsyncSendNum(),1024 * 
1024), true);
           } else {
               semaphoreAsyncSendSize = new Semaphore(1024 * 1024, true);
               log.info("semaphoreAsyncSendSize can not be smaller than 1M.");
           }
   ``


-- 
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]

Reply via email to