Skip to content

Commit cfddd12

Browse files
authored
[ISSUE #9451]Optimize back pressure default value to 1024. (#9452)
1 parent 4f9d292 commit cfddd12

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

client/src/main/java/org/apache/rocketmq/client/producer/DefaultMQProducer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,9 @@ public class DefaultMQProducer extends ClientConfig implements MQProducer {
170170

171171
/**
172172
* on BackpressureForAsyncMode, limit maximum number of on-going sending async messages
173-
* default is 10000
173+
* default is 1024
174174
*/
175-
private int backPressureForAsyncSendNum = 10000;
175+
private int backPressureForAsyncSendNum = 1024;
176176

177177
/**
178178
* on BackpressureForAsyncMode, limit maximum message size of on-going sending async messages

0 commit comments

Comments
 (0)