Skip to content

Commit

Permalink
Merge 74aa3e0 into 765cac3
Browse files Browse the repository at this point in the history
  • Loading branch information
RealBar committed Jul 21, 2021
2 parents 765cac3 + 74aa3e0 commit 0d67471
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,10 @@ private CompletableFuture<RemotingCommand> asyncConsumerSendMsgBack(ChannelHandl

int maxReconsumeTimes = subscriptionGroupConfig.getRetryMaxTimes();
if (request.getVersion() >= MQVersion.Version.V3_4_9.ordinal()) {
maxReconsumeTimes = requestHeader.getMaxReconsumeTimes();
Integer times = requestHeader.getMaxReconsumeTimes();
if (times != null) {
maxReconsumeTimes = times;
}
}

if (msgExt.getReconsumeTimes() >= maxReconsumeTimes
Expand Down

0 comments on commit 0d67471

Please sign in to comment.