socutes commented on code in PR #6271:
URL: https://github.com/apache/rocketmq/pull/6271#discussion_r1133830959
##########
proxy/src/main/java/org/apache/rocketmq/proxy/processor/ReceiptHandleProcessor.java:
##########
@@ -175,9 +176,10 @@ protected CompletableFuture<MessageReceiptHandle>
startRenewMessage(MessageRecei
return CompletableFuture.completedFuture(null);
}
if (current - messageReceiptHandle.getConsumeTimestamp() <
proxyConfig.getRenewMaxTimeMillis()) {
+ RetryPolicy renewPolicy = new RenewStrategyPolicy();
Review Comment:
> Changing the RenewStrategyPolicy to `static final` can be better
Thanks,This problem has been modified.
--
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]