Git-Yang commented on a change in pull request #3490:
URL: https://github.com/apache/rocketmq/pull/3490#discussion_r749945537



##########
File path: 
client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.java
##########
@@ -190,7 +201,7 @@ public void submitConsumeRequest(
             try {
                 this.consumeExecutor.submit(consumeRequest);
             } catch (RejectedExecutionException e) {
-                this.submitConsumeRequestLater(consumeRequest);
+                this.submitConsumeRequestLater(consumeRequest, 
DEFAULT_CONSUME_REQUEST_LATER_DELAY_MILLS);

Review comment:
       After the consumeRequestQueue is full, it will still be placed in thread 
pool of scheduledExecutorService, which I don't think is of much significance.




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